Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 249.9 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 489.7 MB / 0.7761 GB, free: 2.426 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=521,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=521,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.89 kB / 1.127 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9571/0.959, allocations: 172 MB / 1.295 GB, free: 38.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001902/0.9609, allocations: 0.838 MB / 1.296 GB, free: 38.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.9621, allocations: 1.178 MB / 1.297 GB, free: 37.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.9621, allocations: 0 / 1.297 GB, free: 37.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.9623, allocations: 17.86 kB / 1.297 GB, free: 37.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.9624, allocations: 10.88 kB / 1.297 GB, free: 37.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.9628, allocations: 150.2 kB / 1.297 GB, free: 37.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.9632, allocations: 343.4 kB / 1.297 GB, free: 37.03 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.9634, allocations: 98.47 kB / 1.297 GB, free: 36.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.9635, allocations: 150 kB / 1.298 GB, free: 36.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.9637, allocations: 139.7 kB / 1.298 GB, free: 36.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.9637, allocations: 33.69 kB / 1.298 GB, free: 36.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.9638, allocations: 47.27 kB / 1.298 GB, free: 36.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.9639, allocations: 48.59 kB / 1.298 GB, free: 36.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.964, allocations: 131.5 kB / 1.298 GB, free: 36.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.9643, allocations: 400.7 kB / 1.298 GB, free: 36.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9643, allocations: 0 / 1.298 GB, free: 36.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.143e-06/0.9643, allocations: 0 / 1.298 GB, free: 36.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.9644, allocations: 0 / 1.298 GB, free: 36.65 MB / 1.061 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.0006427/0.965, allocations: 0.5878 MB / 1.299 GB, free: 36.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.965, allocations: 8.562 kB / 1.299 GB, free: 36.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.9651, allocations: 25.28 kB / 1.299 GB, free: 36.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.9654, allocations: 291.2 kB / 1.299 GB, free: 35.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.9655, allocations: 19.8 kB / 1.299 GB, free: 35.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.9655, allocations: 26.25 kB / 1.299 GB, free: 35.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.9658, allocations: 176.4 kB / 1.299 GB, free: 35.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9658, allocations: 192 / 1.299 GB, free: 35.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.9658, allocations: 11.94 kB / 1.299 GB, free: 35.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.9658, allocations: 5 kB / 1.299 GB, free: 35.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.966, allocations: 150.9 kB / 1.3 GB, free: 35.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.9668, allocations: 0.6624 MB / 1.3 GB, free: 35.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.9669, allocations: 117 kB / 1.3 GB, free: 35.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.967, allocations: 80.95 kB / 1.3 GB, free: 35.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.967, allocations: 3.938 kB / 1.3 GB, free: 35.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.9672, allocations: 164.3 kB / 1.301 GB, free: 35.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.9672, allocations: 0 / 1.301 GB, free: 35.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0004382/0.9677, allocations: 307 kB / 1.301 GB, free: 35.03 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.9677, allocations: 54.34 kB / 1.301 GB, free: 34.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.9678, allocations: 198.6 kB / 1.301 GB, free: 34.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.9679, allocations: 35.67 kB / 1.301 GB, free: 34.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.968, allocations: 141.3 kB / 1.301 GB, free: 34.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.968, allocations: 40.78 kB / 1.301 GB, free: 34.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.9681, allocations: 83 kB / 1.301 GB, free: 34.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.9682, allocations: 331.1 kB / 1.302 GB, free: 34.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.9685, allocations: 222.2 kB / 1.302 GB, free: 34.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.9688, allocations: 281.3 kB / 1.302 GB, free: 34.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.9691, allocations: 399.1 kB / 1.303 GB, free: 33.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9691, allocations: 0 / 1.303 GB, free: 33.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007469/0.9699, allocations: 0.6328 MB / 1.303 GB, free: 33.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.9699, allocations: 96.11 kB / 1.303 GB, free: 33.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9699, allocations: 3.062 kB / 1.303 GB, free: 33.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.9699, allocations: 7.188 kB / 1.303 GB, free: 33.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.97, allocations: 15.22 kB / 1.303 GB, free: 33.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.97, allocations: 10.84 kB / 1.303 GB, free: 33.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.9705, allocations: 107.4 kB / 1.303 GB, free: 33.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.9706, allocations: 24.47 kB / 1.303 GB, free: 33.46 MB / 1.061 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.000132/0.9707, allocations: 165.3 kB / 1.304 GB, free: 33.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.9707, allocations: 17.97 kB / 1.304 GB, free: 33.31 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.971, allocations: 236.3 kB / 1.304 GB, free: 33.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.971, allocations: 0 / 1.304 GB, free: 33.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.971, allocations: 0 / 1.304 GB, free: 33.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.971, allocations: 2.812 kB / 1.304 GB, free: 33.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.9712, allocations: 271.4 kB / 1.304 GB, free: 32.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9712, allocations: 4 kB / 1.304 GB, free: 32.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.9713, allocations: 14.58 kB / 1.304 GB, free: 32.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.9713, allocations: 0 / 1.304 GB, free: 32.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.9713, allocations: 2.719 kB / 1.304 GB, free: 32.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9713, allocations: 0 / 1.304 GB, free: 32.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9713, allocations: 3.938 kB / 1.304 GB, free: 32.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.9715, allocations: 250 kB / 1.304 GB, free: 32.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.9716, allocations: 90.42 kB / 1.304 GB, free: 32.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.9716, allocations: 4 kB / 1.304 GB, free: 32.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.9716, allocations: 9.938 kB / 1.304 GB, free: 32.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.9717, allocations: 19.64 kB / 1.304 GB, free: 32.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.9717, allocations: 5.938 kB / 1.304 GB, free: 32.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.9718, allocations: 132.8 kB / 1.305 GB, free: 32.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9718, allocations: 0 / 1.305 GB, free: 32.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002823/0.9721, allocations: 74.67 kB / 1.305 GB, free: 32.62 MB / 1.061 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.000129/0.9722, allocations: 111.1 kB / 1.305 GB, free: 32.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005648/0.9727, allocations: 0.5192 MB / 1.305 GB, free: 32.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9727, allocations: 4 kB / 1.305 GB, free: 32.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.9729, allocations: 96.56 kB / 1.305 GB, free: 32.22 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.9731, allocations: 41.58 kB / 1.305 GB, free: 32.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.9737, allocations: 414.8 kB / 1.306 GB, free: 31.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.9738, allocations: 0.7428 MB / 1.307 GB, free: 31.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.9739, allocations: 18.64 kB / 1.307 GB, free: 31.25 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.9739, allocations: 0 / 1.307 GB, free: 31.25 MB / 1.061 GB Notification: Performance of Templates: time 0.004455/0.9783, allocations: 3.28 MB / 1.31 GB, free: 30.94 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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