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.001347/0.001347, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001726/0.001726, allocations: 190.5 kB / 22.11 MB, free: 5.152 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.584/1.584, allocations: 225.6 MB / 250.8 MB, free: 13.09 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 3.283/3.283, allocations: 495.8 MB / 0.783 GB, free: 33.61 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.002535/0.002535, allocations: 68.2 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.509, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.003159/0.5121, allocations: 0.8452 MB / 1.308 GB, free: 1.012 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002112/0.5143, allocations: 1.174 MB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.5144, allocations: 3.938 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.5146, allocations: 11.86 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.000144/0.5147, allocations: 19.86 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.5153, allocations: 146.5 kB / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005656/0.5159, allocations: 359.3 kB / 1.309 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.5161, allocations: 54.81 kB / 1.309 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.5163, allocations: 155.7 kB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.5166, allocations: 143.5 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.5167, allocations: 39.94 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.5168, allocations: 43.98 kB / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.5169, allocations: 47.91 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.5172, allocations: 139.5 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.5177, allocations: 402.8 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5177, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.014e-06/0.5177, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.596e-06/0.5177, allocations: 0 / 1.31 GB, free: 14.29 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.001056/0.5188, allocations: 0.5103 MB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.5188, allocations: 12.03 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.5189, allocations: 28.8 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.5194, allocations: 220.4 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.5194, allocations: 20.34 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/0.5195, allocations: 36.31 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.5198, allocations: 178.1 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5198, allocations: 192 / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.5199, allocations: 11.94 kB / 1.311 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.5199, allocations: 4 kB / 1.311 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.5201, allocations: 147.9 kB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.5213, allocations: 0.6397 MB / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.5215, allocations: 122.4 kB / 1.312 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.5216, allocations: 68.81 kB / 1.312 GB, free: 12.17 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.5217, allocations: 7.938 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/0.522, allocations: 176.6 kB / 1.312 GB, free: 11.98 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 2.053e-06/0.522, allocations: 4 kB / 1.312 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.0006761/0.5227, allocations: 299.9 kB / 1.313 GB, free: 11.68 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.5227, allocations: 55.39 kB / 1.313 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.523, allocations: 190.2 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.523, allocations: 37.7 kB / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.5232, allocations: 136.4 kB / 1.313 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.5232, allocations: 39.67 kB / 1.313 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.5234, allocations: 81.67 kB / 1.313 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001886/0.5236, allocations: 334.8 kB / 1.313 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.524, allocations: 223.8 kB / 1.314 GB, free: 10.55 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.5244, allocations: 274.6 kB / 1.314 GB, free: 10.26 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.525, allocations: 398 kB / 1.314 GB, free: 9.832 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.525, allocations: 3.938 kB / 1.314 GB, free: 9.828 MB / 1.014 GB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.001018/0.526, allocations: 0.6271 MB / 1.315 GB, free: 9.176 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/0.5261, allocations: 97.09 kB / 1.315 GB, free: 9.062 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5261, allocations: 4 kB / 1.315 GB, free: 9.059 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.5261, allocations: 4 kB / 1.315 GB, free: 9.055 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.5263, allocations: 19.92 kB / 1.315 GB, free: 9.035 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.5263, allocations: 0 / 1.315 GB, free: 9.035 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.5268, allocations: 108 kB / 1.315 GB, free: 8.93 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.5269, allocations: 23.98 kB / 1.315 GB, free: 8.906 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.00022/0.5271, allocations: 171.4 kB / 1.315 GB, free: 8.73 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.5271, allocations: 19.83 kB / 1.315 GB, free: 8.711 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.5276, allocations: 231.4 kB / 1.316 GB, free: 8.477 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5276, allocations: 4 kB / 1.316 GB, free: 8.473 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5276, allocations: 4 kB / 1.316 GB, free: 8.469 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5276, allocations: 0 / 1.316 GB, free: 8.469 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.5279, allocations: 248.5 kB / 1.316 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5279, allocations: 3.938 kB / 1.316 GB, free: 8.18 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.535e-05/0.5279, allocations: 11.98 kB / 1.316 GB, free: 8.168 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5279, allocations: 0 / 1.316 GB, free: 8.168 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.528, allocations: 8 kB / 1.316 GB, free: 8.16 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.528, allocations: 7.938 kB / 1.316 GB, free: 8.152 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.528, allocations: 0 / 1.316 GB, free: 8.152 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.5283, allocations: 256.8 kB / 1.316 GB, free: 7.883 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.5283, allocations: 11.91 kB / 1.316 GB, free: 7.871 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.5284, allocations: 0 / 1.316 GB, free: 7.871 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.5284, allocations: 15.92 kB / 1.316 GB, free: 7.855 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.5285, allocations: 19.95 kB / 1.316 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.5285, allocations: 8 kB / 1.316 GB, free: 7.828 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001319/0.5286, allocations: 136.2 kB / 1.316 GB, free: 7.695 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.5286, allocations: 0 / 1.316 GB, free: 7.695 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003171/0.529, allocations: 71.89 kB / 1.316 GB, free: 7.625 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.0002031/0.5292, allocations: 108.9 kB / 1.316 GB, free: 7.512 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000825/0.53, allocations: 0.5202 MB / 1.317 GB, free: 6.957 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.53, allocations: 0 / 1.317 GB, free: 6.957 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.5301, allocations: 91.81 kB / 1.317 GB, free: 6.867 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.5305, allocations: 45.38 kB / 1.317 GB, free: 6.824 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/0.5313, allocations: 383.7 kB / 1.317 GB, free: 6.426 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.5317, allocations: 0.7435 MB / 1.318 GB, free: 5.656 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 8.234e-05/0.5318, allocations: 33.41 kB / 1.318 GB, free: 5.625 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.5318, allocations: 15.44 kB / 1.318 GB, free: 5.609 MB / 1.014 GB
Notification: Performance of SimCode: time 7.31e-07/0.5318, allocations: 0 / 1.318 GB, free: 5.609 MB / 1.014 GB
Notification: Performance of Templates: time 0.00836/0.5402, allocations: 3.816 MB / 1.322 GB, free: 1.828 MB / 1.014 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.855688496492803]