Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 195.4 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.023/3.023, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.42 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3653, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002808/0.3682, allocations: 1.564 MB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3694, allocations: 0.7323 MB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.3694, allocations: 4 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.917e-05/0.3695, allocations: 3.938 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.3696, allocations: 11.91 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3701, allocations: 99.78 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3702, allocations: 79.7 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.3703, allocations: 15.97 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.3704, allocations: 31.92 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.3705, allocations: 31.89 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3705, allocations: 4 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.3707, allocations: 91.84 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.3707, allocations: 15.92 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.3708, allocations: 27.86 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.371, allocations: 147.8 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.371, allocations: 4 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.11e-07/0.371, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.371, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 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.0006603/0.3717, allocations: 413 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.3717, allocations: 15.97 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.3718, allocations: 8.781 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3719, allocations: 176.2 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.3719, allocations: 8.375 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.372, allocations: 8.375 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.3722, allocations: 73.91 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3722, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3722, allocations: 3.984 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3722, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.3724, allocations: 39.97 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.373, allocations: 312.8 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3732, allocations: 54.5 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.886e-05/0.3733, allocations: 36.95 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.3733, allocations: 0 / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.3735, allocations: 75.38 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3735, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004081/0.3739, allocations: 141.5 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.374, allocations: 55.41 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3741, allocations: 121.7 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.3741, allocations: 29.7 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.3742, allocations: 88.14 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.3742, allocations: 23.81 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.3743, allocations: 29.7 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3744, allocations: 326.8 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.3745, allocations: 23.98 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.3746, allocations: 50.5 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3748, allocations: 78.48 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3748, allocations: 0 / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002304/0.375, allocations: 109.5 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.375, allocations: 4 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3751, allocations: 0 / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3751, allocations: 0 / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.744e-05/0.3752, allocations: 24.05 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3752, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.3753, allocations: 4 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.3753, allocations: 4 kB / 1.073 GB, free: 5.516 MB / 0.8262 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.0001804/0.3755, allocations: 129.2 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.3755, allocations: 11.84 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.3755, allocations: 8.375 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3755, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3755, allocations: 4 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3756, allocations: 4 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.376, allocations: 382.8 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.376, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.3761, allocations: 11.92 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3761, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3761, allocations: 4 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3761, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3761, allocations: 4.016 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.3764, allocations: 219.4 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.3765, allocations: 81.02 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3765, allocations: 4 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.3766, allocations: 0 / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.3767, allocations: 11.92 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.3767, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.859e-05/0.3767, allocations: 99.27 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3767, allocations: 3.938 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002892/0.377, allocations: 39.98 kB / 1.073 GB, free: 4.422 MB / 0.8262 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.0003517/0.3774, allocations: 163.3 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.3777, allocations: 71.95 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3777, allocations: 4 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3778, allocations: 39.91 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.378, allocations: 3 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.3785, allocations: 198.2 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.3788, allocations: 0.6848 MB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.3788, allocations: 7.984 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.3788, allocations: 7.438 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3789, allocations: 0 / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.004536/0.3834, allocations: 1.37 MB / 1.076 GB, free: 1.836 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)