Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001626, allocations: 72.45 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3203, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002469/0.3228, allocations: 0.7664 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.324, allocations: 0.8235 MB / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.3241, allocations: 0 / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.3243, allocations: 59.73 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/0.3244, allocations: 43.81 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.973e-05/0.3245, allocations: 19.97 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.3247, allocations: 87.77 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.3249, allocations: 19.97 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3251, allocations: 51.83 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.3252, allocations: 83.78 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.3253, allocations: 8 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.27e-05/0.3253, allocations: 8 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/0.3254, allocations: 31.91 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.3255, allocations: 43.73 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3257, allocations: 115.6 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3257, allocations: 4 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3257, allocations: 0 / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.3257, allocations: 0 / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000966/0.3267, allocations: 464.9 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.3267, allocations: 16.88 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.3268, allocations: 16.69 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3271, allocations: 208 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3271, allocations: 4.375 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3271, allocations: 8.375 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.3276, allocations: 155.8 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3276, allocations: 4.125 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.3277, allocations: 7.922 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3277, allocations: 0 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005544/0.3282, allocations: 175.8 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.3292, allocations: 0.4969 MB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.3297, allocations: 161.1 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.33, allocations: 97.73 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.33, allocations: 4 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3301, allocations: 34.5 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.3301, allocations: 0 / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0009797/0.331, allocations: 281.4 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.3311, allocations: 85.05 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.3313, allocations: 160.4 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3313, allocations: 33.7 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.3314, allocations: 104.1 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.3314, allocations: 31.55 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.3315, allocations: 21.7 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3316, allocations: 326.8 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.3319, allocations: 75.92 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3322, allocations: 93.64 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.3327, allocations: 169.6 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3327, allocations: 4 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005869/0.3333, allocations: 209.4 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3333, allocations: 4 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3333, allocations: 480 / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3334, allocations: 4 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.3336, allocations: 35.95 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3336, allocations: 7.938 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.3338, allocations: 31.81 kB / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3338, allocations: 0 / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.3339, allocations: 138.4 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.334, allocations: 11.91 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.334, allocations: 24.22 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.334, allocations: 4 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.334, allocations: 0 / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.334, allocations: 0 / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.3344, allocations: 225.5 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3344, allocations: 0 / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.3346, allocations: 35.95 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3346, allocations: 0 / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3346, allocations: 0 / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3346, allocations: 0 / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3346, allocations: 3.938 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.3353, allocations: 394.3 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.3353, allocations: 85.02 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.3354, allocations: 4 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.3356, allocations: 27.97 kB / 1.024 GB, free: 3.719 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.3357, allocations: 3.984 kB / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.3357, allocations: 8 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.981e-05/0.3358, allocations: 126.5 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3358, allocations: 0 / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002916/0.3361, allocations: 20 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001577/0.3362, allocations: 103.2 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.3368, allocations: 175.8 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3369, allocations: 0 / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002941/0.3372, allocations: 91.86 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3375, allocations: 15.98 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.3382, allocations: 286.4 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3385, allocations: 0.7119 MB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.3386, allocations: 11.44 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of SimCode: time 2.124e-06/0.3386, allocations: 0 / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of Templates: time 0.003304/0.3419, allocations: 1.499 MB / 1.027 GB, free: 0.625 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches