Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.001332/0.001332, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00164/0.00164, allocations: 217.9 kB / 22.25 MB, free: 4.852 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.813/2.813, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [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.002246/0.002246, allocations: 67.3 kB / 1.117 GB, free: 41.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4466, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002996/0.4496, allocations: 1.589 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.4512, allocations: 0.8198 MB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.4513, allocations: 0 / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.246e-05/0.4513, allocations: 11.86 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.206e-05/0.4514, allocations: 15.8 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.452, allocations: 171.5 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.4522, allocations: 143.6 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.4523, allocations: 21.52 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.4525, allocations: 71.75 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.4526, allocations: 71.72 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.4527, allocations: 12 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.453, allocations: 139.8 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.453, allocations: 31.91 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.4531, allocations: 47.77 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.4534, allocations: 211.2 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4534, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4534, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4534, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007751/0.4542, allocations: 413 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4542, allocations: 12.03 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006573/0.4549, allocations: 68.78 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4552, allocations: 154.3 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4552, allocations: 4.375 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.4552, allocations: 8.375 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.4555, allocations: 101.7 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4555, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4555, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4555, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.4557, allocations: 63.95 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/0.4565, allocations: 316.2 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.4567, allocations: 62.53 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4569, allocations: 52.83 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.4569, allocations: 0 / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.4571, allocations: 107.3 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.4571, allocations: 0 / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006052/0.4577, allocations: 213.5 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.4578, allocations: 59.39 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.4579, allocations: 144.5 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.4579, allocations: 25.7 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.458, allocations: 108.3 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.458, allocations: 23.84 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.4581, allocations: 33.7 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4583, allocations: 327.1 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.4584, allocations: 39.98 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.4585, allocations: 77.5 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.4588, allocations: 104.2 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4588, allocations: 11.94 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003603/0.4592, allocations: 157.5 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4592, allocations: 4 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4592, allocations: 0 / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4592, allocations: 4 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4594, allocations: 15.98 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.4594, allocations: 7.938 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4595, allocations: 19.97 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.4595, allocations: 8 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001244/0.4596, allocations: 121.8 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.4596, allocations: 7.953 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.4597, allocations: 16.7 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4597, allocations: 0 / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4597, allocations: 0 / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4597, allocations: 0 / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006656/0.4604, allocations: 414.1 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4604, allocations: 0 / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.4604, allocations: 11.94 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4604, allocations: 0 / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4604, allocations: 8.156 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4604, allocations: 3.938 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4604, allocations: 4 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.4609, allocations: 283.3 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.4609, allocations: 15.89 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.4609, allocations: 4 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.4611, allocations: 4 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.4611, allocations: 11.98 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4611, allocations: 11.92 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.044e-05/0.4612, allocations: 104.5 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4612, allocations: 0 / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003442/0.4616, allocations: 51.86 kB / 1.29 GB, free: 4.57 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004152/0.462, allocations: 163.2 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003504/0.4623, allocations: 103.9 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4623, allocations: 0 / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.4625, allocations: 51.91 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.4628, allocations: 20.11 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.4633, allocations: 232.7 kB / 1.29 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.136e-05/0.4634, allocations: 84.19 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.589e-05/0.4635, allocations: 12.66 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.4635, allocations: 11.44 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4635, allocations: 192 / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of Templates: time 0.005746/0.4693, allocations: 2.098 MB / 1.293 GB, free: 1.797 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.52653655409813]