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.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.001653/0.001653, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002124/0.002124, allocations: 200.5 kB / 22.17 MB, free: 5.211 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.482/1.482, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.82/2.82, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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: 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: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 72.19 kB / 1.109 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4119, allocations: 168.7 MB / 1.274 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003465/0.4154, allocations: 1.606 MB / 1.276 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.417, allocations: 0.7996 MB / 1.276 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.417, allocations: 0 / 1.276 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.417, allocations: 7.875 kB / 1.276 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.4171, allocations: 19.8 kB / 1.276 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.4178, allocations: 147.6 kB / 1.277 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.418, allocations: 139.6 kB / 1.277 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.4181, allocations: 23.92 kB / 1.277 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.4183, allocations: 71.75 kB / 1.277 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.4184, allocations: 67.73 kB / 1.277 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.4184, allocations: 12 kB / 1.277 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.4187, allocations: 111.9 kB / 1.277 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.4187, allocations: 27.91 kB / 1.277 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.4188, allocations: 51.72 kB / 1.277 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.4191, allocations: 199.3 kB / 1.277 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4191, allocations: 0 / 1.277 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4191, allocations: 0 / 1.277 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.4191, allocations: 0 / 1.277 GB, free: 7.941 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.0009047/0.42, allocations: 490.1 kB / 1.278 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4201, allocations: 12.03 kB / 1.278 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.4201, allocations: 8.891 kB / 1.278 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.4203, allocations: 188.8 kB / 1.278 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.4203, allocations: 4.375 kB / 1.278 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.4204, allocations: 12.12 kB / 1.278 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.4206, allocations: 97.5 kB / 1.278 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4206, allocations: 4 kB / 1.278 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.4207, allocations: 4 kB / 1.278 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.4207, allocations: 4 kB / 1.278 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.4209, allocations: 55.95 kB / 1.278 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.4219, allocations: 376.6 kB / 1.278 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.4221, allocations: 70.47 kB / 1.279 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.4222, allocations: 44.83 kB / 1.279 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.4223, allocations: 4 kB / 1.279 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.4226, allocations: 103.3 kB / 1.279 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.4226, allocations: 4 kB / 1.279 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006008/0.4232, allocations: 209.5 kB / 1.279 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.4233, allocations: 55.78 kB / 1.279 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.4234, allocations: 148 kB / 1.279 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4234, allocations: 29.64 kB / 1.279 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.4235, allocations: 100.3 kB / 1.279 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.4236, allocations: 35.92 kB / 1.279 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.4236, allocations: 33.7 kB / 1.279 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4238, allocations: 318.8 kB / 1.28 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.4239, allocations: 39.98 kB / 1.28 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.424, allocations: 76.36 kB / 1.28 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.4243, allocations: 116.1 kB / 1.28 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4243, allocations: 0 / 1.28 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003559/0.4246, allocations: 157.5 kB / 1.28 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4247, allocations: 8 kB / 1.28 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4247, allocations: 0 / 1.28 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4247, allocations: 0 / 1.28 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4248, allocations: 23.98 kB / 1.28 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4248, allocations: 3.938 kB / 1.28 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.425, allocations: 19.88 kB / 1.28 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.425, allocations: 4 kB / 1.28 GB, free: 4.871 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.0001314/0.4251, allocations: 127.8 kB / 1.28 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.4251, allocations: 7.953 kB / 1.28 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.4252, allocations: 16.7 kB / 1.28 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4252, allocations: 0 / 1.28 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.4252, allocations: 12 kB / 1.28 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.4252, allocations: 0 / 1.28 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007611/0.4259, allocations: 454.4 kB / 1.281 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.426, allocations: 0 / 1.281 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.49e-05/0.426, allocations: 11.98 kB / 1.281 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.426, allocations: 3.938 kB / 1.281 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.426, allocations: 0 / 1.281 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.426, allocations: 0 / 1.281 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.426, allocations: 4 kB / 1.281 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.4265, allocations: 275.3 kB / 1.281 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.4266, allocations: 89.09 kB / 1.281 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.4266, allocations: 7.938 kB / 1.281 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.4268, allocations: 7.984 kB / 1.281 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.4268, allocations: 11.92 kB / 1.281 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.4268, allocations: 4 kB / 1.281 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.762e-05/0.4269, allocations: 105.3 kB / 1.281 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4269, allocations: 0 / 1.281 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003493/0.4273, allocations: 47.92 kB / 1.281 GB, free: 3.609 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.0004145/0.4277, allocations: 167.5 kB / 1.281 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.428, allocations: 103.9 kB / 1.281 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.428, allocations: 4.188 kB / 1.281 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.4282, allocations: 55.91 kB / 1.281 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.4285, allocations: 15.86 kB / 1.281 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.429, allocations: 236.5 kB / 1.282 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.4294, allocations: 0.7002 MB / 1.282 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.877e-05/0.4294, allocations: 11.94 kB / 1.282 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.4295, allocations: 15.42 kB / 1.282 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4295, allocations: 3.938 kB / 1.282 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of Templates: time 0.005802/0.4353, allocations: 2.007 MB / 1.284 GB, free: 268 kB / 0.9825 GB " [Timeout remaining time 300] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.956197739113122]