Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001796/0.001796, allocations: 104.4 kB / 16.45 MB, free: 6.508 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.002033/0.002033, allocations: 195.7 kB / 19.41 MB, free: 3.676 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.402/1.402, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.686/2.686, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.91 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7453, allocations: 168.7 MB / 1.269 GB, free: 5.199 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002295/0.7476, allocations: 0.9246 MB / 1.27 GB, free: 4.277 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001128/0.7488, allocations: 0.8873 MB / 1.271 GB, free: 3.379 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.7488, allocations: 0 / 1.271 GB, free: 3.379 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 4.454e-05/0.7489, allocations: 11.88 kB / 1.271 GB, free: 3.367 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 9.631e-05/0.749, allocations: 23.73 kB / 1.271 GB, free: 3.344 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.7492, allocations: 47.88 kB / 1.271 GB, free: 3.297 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001565/0.7493, allocations: 119.7 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.7495, allocations: 45.48 kB / 1.271 GB, free: 3.129 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.7496, allocations: 51.73 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.7497, allocations: 59.75 kB / 1.271 GB, free: 3.02 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.7497, allocations: 12 kB / 1.271 GB, free: 3.008 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.179e-05/0.7497, allocations: 12 kB / 1.271 GB, free: 2.996 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.7498, allocations: 35.91 kB / 1.271 GB, free: 2.961 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.7498, allocations: 55.67 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.75, allocations: 149.2 kB / 1.271 GB, free: 2.762 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.75, allocations: 0 / 1.271 GB, free: 2.762 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.563e-06/0.75, allocations: 0 / 1.271 GB, free: 2.762 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.46e-06/0.7501, allocations: 3.938 kB / 1.271 GB, free: 2.758 MB / 0.9669 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 20
 * Number of variables: 20
Notification: Performance of Generate backend data structure: time 0.0006707/0.7507, allocations: 442.8 kB / 1.272 GB, free: 2.277 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.7508, allocations: 8.031 kB / 1.272 GB, free: 2.27 MB / 0.9669 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/0.7508, allocations: 42.75 kB / 1.272 GB, free: 2.219 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.7509, allocations: 12.84 kB / 1.272 GB, free: 2.207 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.7511, allocations: 220.9 kB / 1.272 GB, free: 1.953 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.7512, allocations: 8.375 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.7512, allocations: 11.94 kB / 1.272 GB, free: 1.934 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.7514, allocations: 112.3 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7514, allocations: 0 / 1.272 GB, free: 1.82 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.7514, allocations: 0 / 1.272 GB, free: 1.82 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.7514, allocations: 8 kB / 1.272 GB, free: 1.812 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.7516, allocations: 67.95 kB / 1.272 GB, free: 1.746 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.7523, allocations: 392.7 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.7525, allocations: 86.59 kB / 1.272 GB, free: 1.219 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.7526, allocations: 44.83 kB / 1.272 GB, free: 1.172 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.7527, allocations: 0 / 1.272 GB, free: 1.172 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.7527, allocations: 34.5 kB / 1.273 GB, free: 1.129 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.7527, allocations: 0 / 1.273 GB, free: 1.129 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=7): time 0.0003791/0.7531, allocations: 125.7 kB / 1.273 GB, free: 1 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.7531, allocations: 59.34 kB / 1.273 GB, free: 0.9297 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.7533, allocations: 162.3 kB / 1.273 GB, free: 0.7617 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.7533, allocations: 29.7 kB / 1.273 GB, free: 0.7266 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.7534, allocations: 116.2 kB / 1.273 GB, free: 0.6094 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.7534, allocations: 15.89 kB / 1.273 GB, free: 0.5938 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.7534, allocations: 29.66 kB / 1.273 GB, free: 0.5586 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001335/0.7536, allocations: 322.8 kB / 1.273 GB, free: 240 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.7537, allocations: 35.97 kB / 1.273 GB, free: 204 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.7538, allocations: 54.5 kB / 1.273 GB, free: 140 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.7539, allocations: 52.83 kB / 1.273 GB, free: 84 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7539, allocations: 0 / 1.273 GB, free: 84 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002628/0.7542, allocations: 121.5 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7542, allocations: 8 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7542, allocations: 0 / 1.274 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7542, allocations: 0 / 1.274 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.7543, allocations: 15.98 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.7543, allocations: 3.938 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.7544, allocations: 15.92 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.7544, allocations: 4 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (9):
 * Single equations (assignments): 9
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0001033/0.7545, allocations: 121.8 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.7546, allocations: 15.84 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.7546, allocations: 20.7 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7546, allocations: 3.984 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7546, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.7546, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.7549, allocations: 209.6 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7549, allocations: 0 / 1.274 GB, free: 15.48 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.134e-05/0.7549, allocations: 19.92 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7549, allocations: 0 / 1.274 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.755, allocations: 4.281 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.755, allocations: 4 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.755, allocations: 0 / 1.274 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.7552, allocations: 195.3 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.7553, allocations: 92.94 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.7553, allocations: 8 kB / 1.274 GB, free: 15.13 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.7554, allocations: 8 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.7555, allocations: 19.91 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.7555, allocations: 4 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 9.225e-05/0.7556, allocations: 116.3 kB / 1.274 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 1.5e-07/0.7556, allocations: 4 kB / 1.274 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.000233/0.7558, allocations: 15.94 kB / 1.274 GB, free: 14.96 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y)
 * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 Backend phase and start with SimCode phase: time 0.0006467/0.7565, allocations: 0.744 MB / 1.275 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002433/0.7567, allocations: 67.95 kB / 1.275 GB, free: 14.13 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7567, allocations: 0 / 1.275 GB, free: 14.13 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.7568, allocations: 35.92 kB / 1.275 GB, free: 14.09 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.7571, allocations: 12 kB / 1.275 GB, free: 14.08 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.7591, allocations: 1.655 MB / 1.277 GB, free: 12.35 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.7594, allocations: 0.704 MB / 1.278 GB, free: 11.62 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 6.163e-05/0.7594, allocations: 12.66 kB / 1.278 GB, free: 11.61 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.7595, allocations: 35.42 kB / 1.278 GB, free: 11.57 MB / 0.9825 GB
Notification: Performance of SimCode: time 5e-07/0.7595, allocations: 0 / 1.278 GB, free: 11.57 MB / 0.9825 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.7852, allocations: 2.687 MB / 1.28 GB, free: 9.004 MB / 0.9825 GB
Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.643, allocations: 8.625 kB / 1.28 GB, free: 8.996 MB / 0.9825 GB
"
[Timeout remaining time 291]
(rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0]
diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 14.378680899739265]