Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.001985/0.001985, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002393/0.002393, allocations: 210.3 kB / 22.25 MB, free: 5.262 MB / 14.72 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.27/3.27, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 61.62 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4642, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002529/0.4668, allocations: 0.8196 MB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.4687, allocations: 1.182 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.23e-05/0.4688, allocations: 3.938 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.4689, allocations: 11.86 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.469, allocations: 7.938 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.4695, allocations: 156.4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.47, allocations: 351.4 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.4702, allocations: 58.8 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.4703, allocations: 151.7 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.4706, allocations: 159.6 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.345e-05/0.4707, allocations: 32 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.4708, allocations: 43.94 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.4709, allocations: 55.83 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.4711, allocations: 115.6 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.4715, allocations: 394.8 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4715, allocations: 4 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4716, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4716, allocations: 3.938 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009508/0.4725, allocations: 0.516 MB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4726, allocations: 12.03 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.944e-05/0.4727, allocations: 24.84 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.4731, allocations: 222.9 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.4732, allocations: 16.38 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.4732, allocations: 20.38 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.4736, allocations: 190 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4736, allocations: 4.188 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.4736, allocations: 7.938 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.4736, allocations: 4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.4739, allocations: 143.9 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.475, allocations: 0.5427 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.4752, allocations: 122.5 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.4754, allocations: 72.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.4754, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/0.4757, allocations: 175.3 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 3.807e-06/0.4757, allocations: 3.984 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0006232/0.4763, allocations: 297.4 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.4764, allocations: 59.39 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.4766, allocations: 194.7 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.144e-05/0.4767, allocations: 37.7 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.4768, allocations: 136.3 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.4769, allocations: 47.62 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.477, allocations: 81.67 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.4772, allocations: 338.8 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.4777, allocations: 320.9 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.4782, allocations: 383.7 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.4788, allocations: 389.2 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4788, allocations: 0 / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001099/0.4799, allocations: 0.7374 MB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.48, allocations: 97.09 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.48, allocations: 4 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.4801, allocations: 4 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4802, allocations: 19.92 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4802, allocations: 0 / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.4807, allocations: 112 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.4808, allocations: 23.98 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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.0002124/0.481, allocations: 162.3 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.481, allocations: 15.84 kB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.4815, allocations: 241.3 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4815, allocations: 4 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4815, allocations: 0 / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4815, allocations: 3.984 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.4817, allocations: 193.2 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4817, allocations: 0 / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.4818, allocations: 15.94 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4818, allocations: 7.938 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4818, allocations: 3.984 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4818, allocations: 0 / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4818, allocations: 0 / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.4822, allocations: 252.9 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.4822, allocations: 11.91 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.4822, allocations: 11.92 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.4823, allocations: 4 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.4824, allocations: 19.91 kB / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.4824, allocations: 8 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001383/0.4825, allocations: 135.2 kB / 1.335 GB, free: 7.633 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4825, allocations: 3.938 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003156/0.4828, allocations: 71.88 kB / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002094/0.483, allocations: 104.6 kB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009114/0.4839, allocations: 0.6218 MB / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4839, allocations: 0 / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.4841, allocations: 91.81 kB / 1.336 GB, free: 6.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.4845, allocations: 38.58 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.4853, allocations: 387.9 kB / 1.336 GB, free: 6.246 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.4855, allocations: 131.9 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.531e-05/0.4856, allocations: 29.41 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.4857, allocations: 19.44 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.4857, allocations: 7.938 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of Templates: time 0.008748/0.4944, allocations: 4.163 MB / 1.341 GB, free: 1.949 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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: 9.768982728943229]