Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 165.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.888/2.888, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.47e-05/3.75e-05, allocations: 3.531 kB / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002917/0.002955, allocations: 0.7516 MB / 0.8116 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.004731, allocations: 0.8595 MB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.004796, allocations: 0 / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.00511, allocations: 60.78 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.415e-05/0.005204, allocations: 27.84 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.005324, allocations: 24.81 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.005534, allocations: 95.67 kB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.005682, allocations: 17.52 kB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.005826, allocations: 55.88 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.00605, allocations: 75.84 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.00609, allocations: 8.875 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.596e-05/0.006116, allocations: 8 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.006214, allocations: 40.67 kB / 0.8129 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.006312, allocations: 24 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.006574, allocations: 129.2 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.006579, allocations: 0 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.783e-06/0.00658, allocations: 0 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.006586, allocations: 4 kB / 0.813 GB, free: 15.86 MB / 0.7761 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.001182/0.007768, allocations: 383.3 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.007815, allocations: 13.78 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.521e-05/0.0079, allocations: 16.89 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.008213, allocations: 149.5 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.008228, allocations: 384 / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.008255, allocations: 8.375 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.008914, allocations: 161.3 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.008926, allocations: 0.75 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.008949, allocations: 4.375 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.008954, allocations: 1.75 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009111/0.009865, allocations: 170.3 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.01115, allocations: 433.2 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.01185, allocations: 160 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.01232, allocations: 93.73 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.01234, allocations: 4.5 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.0124, allocations: 42.48 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.0124, allocations: 0.5938 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.001566/0.01397, allocations: 284.6 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.01406, allocations: 81.8 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.01433, allocations: 160.7 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.01437, allocations: 26.77 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.01449, allocations: 104.1 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.01456, allocations: 31.73 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.01464, allocations: 22.81 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002595/0.0149, allocations: 322.8 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.01531, allocations: 76.77 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.01575, allocations: 91.86 kB / 0.8157 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008876/0.01664, allocations: 172.3 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01664, allocations: 0 / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008603/0.0175, allocations: 215 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.01753, allocations: 7.938 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.01754, allocations: 4.594 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/0.01758, allocations: 0.5625 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.01793, allocations: 40.48 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.01794, allocations: 1.344 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.01813, allocations: 19.97 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.01816, allocations: 5.094 kB / 0.8162 GB, free: 12.44 MB / 0.7761 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.0002147/0.01837, allocations: 133.8 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.01846, allocations: 15.84 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.121e-05/0.01855, allocations: 25.45 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.01857, allocations: 4.719 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.01858, allocations: 3.938 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.01858, allocations: 3.719 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.019, allocations: 157.3 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.019, allocations: 0 / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.01927, allocations: 43.88 kB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.01927, allocations: 0 / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.0193, allocations: 7.938 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.0193, allocations: 0 / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.0193, allocations: 4 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009966/0.0203, allocations: 377.2 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.02033, allocations: 11.91 kB / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.02037, allocations: 9.062 kB / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.02068, allocations: 27.95 kB / 0.817 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/0.02077, allocations: 13.05 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.02078, allocations: 4 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001604/0.02094, allocations: 121.2 kB / 0.8171 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.02094, allocations: 1 kB / 0.8171 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005584/0.0215, allocations: 20 kB / 0.8171 GB, free: 11.43 MB / 0.7761 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.0001992/0.0217, allocations: 91.97 kB / 0.8172 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008398/0.02254, allocations: 178 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02254, allocations: 1.844 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.02293, allocations: 83.92 kB / 0.8174 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.02355, allocations: 16.73 kB / 0.8175 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007871/0.02434, allocations: 265.7 kB / 0.8177 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.02451, allocations: 100.2 kB / 0.8178 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000124/0.02464, allocations: 25.34 kB / 0.8178 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.02472, allocations: 16.5 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.02472, allocations: 4 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.005846/0.03056, allocations: 1.262 MB / 0.8191 GB, free: 9.375 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.891408444964327]