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.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.001436/0.001436, 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.001515/0.001515, allocations: 192 kB / 22.23 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.36/1.36, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.978/2.978, allocations: 496 MB / 0.7835 GB, free: 33.63 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-maint.12.x/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_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: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 69.98 kB / 1.138 GB, free: 33.89 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3209, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.00231/0.3232, allocations: 0.8422 MB / 1.308 GB, free: 0.9883 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001546/0.3248, allocations: 1.17 MB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.3249, allocations: 4 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.000122/0.325, allocations: 15.86 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.00011/0.3251, allocations: 15.81 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.3256, allocations: 158.2 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004916/0.3261, allocations: 351.4 kB / 1.31 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.3263, allocations: 66.73 kB / 1.31 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.3265, allocations: 151.7 kB / 1.31 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.3268, allocations: 135.6 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 7.305e-05/0.3268, allocations: 36 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.327, allocations: 43.98 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.3271, allocations: 59.83 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.3272, allocations: 127.6 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000505/0.3278, allocations: 402.7 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.3278, allocations: 3.984 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.102e-06/0.3278, allocations: 0 / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.666e-06/0.3278, allocations: 4 kB / 1.311 GB, free: 14.26 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.0009887/0.3288, allocations: 0.5025 MB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3288, allocations: 12.92 kB / 1.311 GB, free: 13.7 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.3289, allocations: 28.8 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.3294, allocations: 224.3 kB / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.3294, allocations: 12.38 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.3295, allocations: 32.36 kB / 1.312 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.3298, allocations: 182.1 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3298, allocations: 8.062 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.3299, allocations: 7.938 kB / 1.312 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3299, allocations: 4 kB / 1.312 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.3301, allocations: 147.9 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.3314, allocations: 0.6319 MB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.3317, allocations: 126.4 kB / 1.313 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3318, allocations: 72.8 kB / 1.313 GB, free: 12.15 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.3318, allocations: 3.938 kB / 1.313 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.3321, allocations: 175.2 kB / 1.313 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.3321, allocations: 0 / 1.313 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.0006178/0.3327, allocations: 303.5 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.3328, allocations: 59.41 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.333, allocations: 190.2 kB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.3331, allocations: 33.7 kB / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3332, allocations: 140.4 kB / 1.314 GB, free: 11.21 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.3333, allocations: 39.62 kB / 1.314 GB, free: 11.18 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.3335, allocations: 89.66 kB / 1.314 GB, free: 11.08 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001757/0.3337, allocations: 326.8 kB / 1.314 GB, free: 10.75 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.334, allocations: 223.8 kB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.3345, allocations: 280.4 kB / 1.314 GB, free: 10.24 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.335, allocations: 393.9 kB / 1.315 GB, free: 9.812 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.335, allocations: 4 kB / 1.315 GB, free: 9.809 MB / 1.014 GB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009759/0.336, allocations: 0.6309 MB / 1.315 GB, free: 9.152 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 9.618e-05/0.3361, allocations: 97.31 kB / 1.316 GB, free: 9.039 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3361, allocations: 0 / 1.316 GB, free: 9.039 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.3361, allocations: 4 kB / 1.316 GB, free: 9.035 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.3362, allocations: 23.92 kB / 1.316 GB, free: 9.012 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3362, allocations: 4 kB / 1.316 GB, free: 9.008 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.3367, allocations: 95.81 kB / 1.316 GB, free: 8.914 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.3368, allocations: 27.98 kB / 1.316 GB, free: 8.887 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.0002163/0.337, allocations: 169.6 kB / 1.316 GB, free: 8.711 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.337, allocations: 19.84 kB / 1.316 GB, free: 8.691 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/0.3374, allocations: 227.4 kB / 1.316 GB, free: 8.461 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3374, allocations: 0 / 1.316 GB, free: 8.461 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3375, allocations: 4 kB / 1.316 GB, free: 8.457 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3375, allocations: 3.984 kB / 1.316 GB, free: 8.453 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.3378, allocations: 260.4 kB / 1.316 GB, free: 8.156 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3378, allocations: 0 / 1.316 GB, free: 8.156 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.3379, allocations: 15.92 kB / 1.316 GB, free: 8.141 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3379, allocations: 0 / 1.316 GB, free: 8.141 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3379, allocations: 8 kB / 1.316 GB, free: 8.133 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3379, allocations: 0 / 1.316 GB, free: 8.133 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3379, allocations: 0 / 1.316 GB, free: 8.133 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.3383, allocations: 251.2 kB / 1.317 GB, free: 7.871 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.3383, allocations: 19.91 kB / 1.317 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3383, allocations: 0 / 1.317 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.946e-05/0.3384, allocations: 11.98 kB / 1.317 GB, free: 7.84 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.3384, allocations: 7.984 kB / 1.317 GB, free: 7.832 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.3384, allocations: 15.98 kB / 1.317 GB, free: 7.816 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001215/0.3385, allocations: 140.2 kB / 1.317 GB, free: 7.68 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3385, allocations: 0 / 1.317 GB, free: 7.68 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003018/0.3389, allocations: 67.89 kB / 1.317 GB, free: 7.613 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.0001672/0.339, allocations: 113.5 kB / 1.317 GB, free: 7.496 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0007482/0.3398, allocations: 0.5135 MB / 1.317 GB, free: 6.945 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3398, allocations: 0 / 1.317 GB, free: 6.945 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.3399, allocations: 91.81 kB / 1.318 GB, free: 6.855 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3402, allocations: 40.28 kB / 1.318 GB, free: 6.816 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.3409, allocations: 398.5 kB / 1.318 GB, free: 6.406 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.3413, allocations: 0.7396 MB / 1.319 GB, free: 5.641 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.000105/0.3414, allocations: 33.41 kB / 1.319 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3414, allocations: 19.44 kB / 1.319 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of SimCode: time 3.51e-07/0.3414, allocations: 0 / 1.319 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of Templates: time 0.007837/0.3493, allocations: 3.817 MB / 1.322 GB, free: 1.805 MB / 1.014 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/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: 8.397883210331202]