Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001707/0.001707, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001998/0.001998, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.454/1.454, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.829/2.829, 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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 75.88 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8715/0.8735, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002981/0.8765, allocations: 1.518 MB / 1.276 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.8779, allocations: 0.7533 MB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.8779, allocations: 3.938 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.878, allocations: 7.875 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.878, allocations: 3.938 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.8785, allocations: 119.6 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.8787, allocations: 91.69 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.8788, allocations: 7.953 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.059e-05/0.8788, allocations: 27.92 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.8789, allocations: 51.81 kB / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.8789, allocations: 8 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.8792, allocations: 103.8 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.8792, allocations: 7.984 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.8792, allocations: 39.78 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.8795, allocations: 142.2 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8795, allocations: 0 / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8795, allocations: 0 / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.8795, allocations: 0 / 1.277 GB, free: 1.676 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006786/0.8802, allocations: 424.7 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.8802, allocations: 8.031 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.8803, allocations: 8.891 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.8804, allocations: 176.3 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.8804, allocations: 4.375 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.8804, allocations: 8.359 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.8806, allocations: 69.97 kB / 1.278 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.8806, allocations: 0 / 1.278 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.8806, allocations: 0 / 1.278 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8806, allocations: 8 kB / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.8808, allocations: 43.89 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.8814, allocations: 312.8 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.8815, allocations: 42.56 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.8816, allocations: 28.97 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.8816, allocations: 4 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.8819, allocations: 83.25 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.8819, allocations: 0 / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004048/0.8823, allocations: 137.6 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.8823, allocations: 59.41 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.8824, allocations: 129.9 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.8825, allocations: 25.7 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.8825, allocations: 100.2 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.8825, allocations: 11.91 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.8826, allocations: 29.7 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8827, allocations: 322.6 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.8828, allocations: 27.92 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.8829, allocations: 50.5 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.8831, allocations: 74.55 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8831, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002379/0.8833, allocations: 113.5 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8833, allocations: 8 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8833, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8834, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.8834, allocations: 15.92 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8835, allocations: 4 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.8835, allocations: 8 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.8835, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001107/0.8836, allocations: 131.3 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.8837, allocations: 7.938 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.8837, allocations: 12.38 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.8837, allocations: 11.92 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8837, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8837, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.8842, allocations: 382.4 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8842, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.8842, allocations: 12 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.8842, allocations: 3.984 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.8842, allocations: 4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.8842, allocations: 3.938 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8842, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.8845, allocations: 199.9 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.8846, allocations: 89.05 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.8846, allocations: 8 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.433e-05/0.8847, allocations: 7.938 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.8847, allocations: 7.984 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.8847, allocations: 0 / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.8848, allocations: 91.27 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8848, allocations: 4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003028/0.8851, allocations: 35.94 kB / 1.28 GB, free: 14.04 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003713/0.8855, allocations: 170.2 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.8857, allocations: 71.88 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8857, allocations: 0 / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.496e-05/0.8858, allocations: 31.92 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.8861, allocations: 11.98 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.8865, allocations: 196.3 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.8868, allocations: 0.6885 MB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.8868, allocations: 4 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.8868, allocations: 15.42 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8868, allocations: 0 / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.004406/0.8912, allocations: 1.48 MB / 1.283 GB, free: 11.34 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 8.836799692362547]