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.00156/0.00156, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001727/0.001727, allocations: 213.4 kB / 23 MB, free: 4.977 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.173/3.173, allocations: 0.49 GB / 0.7959 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 177] 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.003394/0.003394, allocations: 70.75 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3313, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002188/0.3335, allocations: 0.8229 MB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3354, allocations: 1.182 MB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.3355, allocations: 4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.3356, allocations: 15.86 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.3357, allocations: 15.86 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.3363, allocations: 145.3 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.3367, allocations: 347.4 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.3369, allocations: 66.78 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.3371, allocations: 155.7 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.3373, allocations: 147.6 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.338e-05/0.3374, allocations: 32 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3375, allocations: 43.98 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.3375, allocations: 51.84 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.3377, allocations: 119.6 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.3382, allocations: 394.8 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3382, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3382, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3382, allocations: 3.938 kB / 1.33 GB, free: 13.5 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.000985/0.3392, allocations: 0.5181 MB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3392, allocations: 12.03 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3394, allocations: 24.84 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.3399, allocations: 219.6 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.3399, allocations: 20.36 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.34, allocations: 24.38 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.3403, allocations: 174.1 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3403, allocations: 192 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.3404, allocations: 11.94 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3404, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.3406, allocations: 151.9 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.3416, allocations: 0.5466 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3418, allocations: 118.5 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3419, allocations: 72.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.342, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.3422, allocations: 175.3 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.3422, allocations: 0 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005626/0.3428, allocations: 304 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3428, allocations: 55.41 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.343, allocations: 198.7 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.3431, allocations: 37.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.3432, allocations: 136.4 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.3433, allocations: 43.64 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3434, allocations: 85.66 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3436, allocations: 326.8 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.3441, allocations: 328.8 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.3446, allocations: 379.7 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.3451, allocations: 401.3 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3451, allocations: 0 / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001093/0.3462, allocations: 0.7319 MB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/0.3463, allocations: 101 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3463, allocations: 4 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3463, allocations: 0 / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3464, allocations: 19.92 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3464, allocations: 4 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.347, allocations: 107.8 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.347, allocations: 19.98 kB / 1.336 GB, free: 7.867 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.0001987/0.3472, allocations: 172.7 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.3473, allocations: 15.84 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.3477, allocations: 235.3 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3477, allocations: 3.938 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.3477, allocations: 0 / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.3477, allocations: 15.84 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.3477, allocations: 8 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.3478, allocations: 11.98 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.3478, allocations: 23.95 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003879/0.3482, allocations: 288.8 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004085/0.3486, allocations: 396.2 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001384/0.3488, allocations: 86.73 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001187/0.3489, allocations: 135.2 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of Backend: time 4.41e-07/0.3489, allocations: 0 / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.35, allocations: 0.6266 MB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009609/0.3509, allocations: 0.7746 MB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of Templates: time 0.008647/0.3596, allocations: 4.564 MB / 1.343 GB, free: 480 kB / 1.029 GB " [Timeout remaining time 300] 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/jenkins1/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: 8.677793893999478]