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 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 185.3 kB / 22.22 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.911/2.911, allocations: 495.7 MB / 0.7831 GB, free: 33.51 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=2500,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=2500,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.00191/0.00191, allocations: 64.77 kB / 1.137 GB, free: 33.98 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3469, allocations: 173.6 MB / 1.307 GB, free: 1.988 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002122/0.349, allocations: 0.8627 MB / 1.308 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001527/0.3506, allocations: 1.174 MB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.3506, allocations: 0 / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.3508, allocations: 11.86 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3509, allocations: 23.84 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.3513, allocations: 146.4 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004192/0.3517, allocations: 347.3 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.3519, allocations: 58.8 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.3521, allocations: 155.7 kB / 1.31 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.3523, allocations: 139.6 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 7.033e-05/0.3524, allocations: 36 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3525, allocations: 47.97 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.3526, allocations: 51.84 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.3528, allocations: 131.5 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.3532, allocations: 402.7 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3532, allocations: 4 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.243e-06/0.3532, allocations: 0 / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.103e-06/0.3532, allocations: 0 / 1.31 GB, free: 14.42 MB / 1.014 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.0007571/0.354, allocations: 0.5025 MB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.354, allocations: 12.03 kB / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.231e-05/0.3541, allocations: 32.78 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.3545, allocations: 226.8 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.3546, allocations: 12.38 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.3546, allocations: 28.38 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.3549, allocations: 178.1 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3549, allocations: 8.156 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3549, allocations: 11.94 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3549, allocations: 4 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.3552, allocations: 151.8 kB / 1.312 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009973/0.3562, allocations: 0.6358 MB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.3564, allocations: 122.5 kB / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3565, allocations: 72.8 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3565, allocations: 4.125 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.3567, allocations: 179.1 kB / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.3567, allocations: 0 / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.0004998/0.3572, allocations: 297.4 kB / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3573, allocations: 63.33 kB / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3574, allocations: 190.2 kB / 1.313 GB, free: 11.54 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.3575, allocations: 29.7 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3576, allocations: 132.4 kB / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.3576, allocations: 43.67 kB / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.3578, allocations: 89.66 kB / 1.313 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001419/0.3579, allocations: 326.8 kB / 1.314 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.3583, allocations: 223.8 kB / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.3587, allocations: 274.7 kB / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.3592, allocations: 397.3 kB / 1.314 GB, free: 9.965 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3592, allocations: 4 kB / 1.315 GB, free: 9.961 MB / 1.014 GB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009177/0.3601, allocations: 0.6327 MB / 1.315 GB, free: 9.305 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 7.284e-05/0.3601, allocations: 97.09 kB / 1.315 GB, free: 9.191 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3602, allocations: 0 / 1.315 GB, free: 9.191 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3602, allocations: 4 kB / 1.315 GB, free: 9.188 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.3603, allocations: 15.98 kB / 1.315 GB, free: 9.172 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3603, allocations: 7.938 kB / 1.315 GB, free: 9.164 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.3608, allocations: 99.92 kB / 1.315 GB, free: 9.066 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.3608, allocations: 23.98 kB / 1.315 GB, free: 9.043 MB / 1.014 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.0001726/0.361, allocations: 173.6 kB / 1.316 GB, free: 8.863 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.361, allocations: 19.84 kB / 1.316 GB, free: 8.844 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.3614, allocations: 233.7 kB / 1.316 GB, free: 8.609 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3614, allocations: 0 / 1.316 GB, free: 8.609 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3614, allocations: 12 kB / 1.316 GB, free: 8.598 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3614, allocations: 0 / 1.316 GB, free: 8.598 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.3616, allocations: 252.4 kB / 1.316 GB, free: 8.309 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3616, allocations: 0 / 1.316 GB, free: 8.309 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.129e-05/0.3617, allocations: 11.98 kB / 1.316 GB, free: 8.297 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3617, allocations: 0 / 1.316 GB, free: 8.297 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3617, allocations: 4 kB / 1.316 GB, free: 8.293 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3617, allocations: 0 / 1.316 GB, free: 8.293 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3617, allocations: 0 / 1.316 GB, free: 8.293 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.362, allocations: 256.7 kB / 1.316 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.3621, allocations: 19.89 kB / 1.316 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.3621, allocations: 4 kB / 1.316 GB, free: 8 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.296e-05/0.3621, allocations: 4 kB / 1.316 GB, free: 7.996 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.3622, allocations: 15.97 kB / 1.316 GB, free: 7.98 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3622, allocations: 4 kB / 1.316 GB, free: 7.977 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001098/0.3623, allocations: 140.2 kB / 1.316 GB, free: 7.84 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3623, allocations: 0 / 1.316 GB, free: 7.84 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002837/0.3626, allocations: 71.88 kB / 1.317 GB, free: 7.77 MB / 1.014 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.0001439/0.3627, allocations: 108 kB / 1.317 GB, free: 7.656 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0007086/0.3634, allocations: 0.5135 MB / 1.317 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3634, allocations: 0 / 1.317 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.3636, allocations: 93.92 kB / 1.317 GB, free: 7.016 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.3639, allocations: 44.28 kB / 1.317 GB, free: 6.973 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.3645, allocations: 391.7 kB / 1.318 GB, free: 6.566 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.3649, allocations: 0.7513 MB / 1.318 GB, free: 5.789 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.056e-05/0.365, allocations: 29.42 kB / 1.318 GB, free: 5.762 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.365, allocations: 19.42 kB / 1.318 GB, free: 5.742 MB / 1.014 GB
Notification: Performance of SimCode: time 2.71e-07/0.365, allocations: 0 / 1.318 GB, free: 5.742 MB / 1.014 GB
Notification: Performance of Templates: time 0.00718/0.3722, allocations: 3.819 MB / 1.322 GB, free: 1.957 MB / 1.014 GB
"
[Timeout remaining time 300]
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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 800]
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/jenkins/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
[Calling sys.exit(0), Time elapsed: 8.22803936060518]