Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.678/1.678, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 179.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.19 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005384/0.0005384, allocations: 16 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7501/0.7507, allocations: 120.3 MB / 1.026 GB, free: 55.81 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.9544, allocations: 143.5 MB / 1.166 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.9547, allocations: 86.84 kB / 1.166 GB, free: 448 kB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.9659, allocations: 3.273 MB / 1.17 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.276e-06/0.9659, allocations: 0.6094 kB / 1.17 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.9659, allocations: 4 kB / 1.17 GB, free: 14.11 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007417/0.9667, allocations: 462.9 kB / 1.17 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.9668, allocations: 8.031 kB / 1.17 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.9668, allocations: 10.42 kB / 1.17 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.967, allocations: 175.5 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.967, allocations: 11.64 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.9671, allocations: 6.438 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.9673, allocations: 94.78 kB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.9674, allocations: 192 / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.9674, allocations: 3.938 kB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.9674, allocations: 0.5 kB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.9677, allocations: 55.38 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008516/0.9685, allocations: 338.5 kB / 1.171 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.9687, allocations: 63.36 kB / 1.171 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.9689, allocations: 48.67 kB / 1.171 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.9689, allocations: 0.8438 kB / 1.171 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.9691, allocations: 101.4 kB / 1.171 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.385e-06/0.9692, allocations: 4 kB / 1.171 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0005573/0.9697, allocations: 188.3 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.9698, allocations: 59.02 kB / 1.171 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.9699, allocations: 121.9 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.9699, allocations: 37.64 kB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.97, allocations: 94.06 kB / 1.171 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.9701, allocations: 22.08 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-06/0.9701, allocations: 4.844 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.9702, allocations: 322.5 kB / 1.172 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.65e-05/0.9703, allocations: 29.86 kB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.9704, allocations: 65.7 kB / 1.172 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.9706, allocations: 108.8 kB / 1.172 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.9706, allocations: 4 kB / 1.172 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002947/0.9709, allocations: 134 kB / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.971, allocations: 5.531 kB / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.971, allocations: 0.6562 kB / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.971, allocations: 5.125 kB / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.9711, allocations: 19.64 kB / 1.172 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.9711, allocations: 0.6875 kB / 1.172 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.9712, allocations: 17.45 kB / 1.172 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.9712, allocations: 4.609 kB / 1.172 GB, free: 11.51 MB / 0.7448 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.9714, allocations: 120.6 kB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.9714, allocations: 8.422 kB / 1.172 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.9714, allocations: 13.83 kB / 1.172 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.9714, allocations: 4 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9714, allocations: 3.938 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9715, allocations: 0.7969 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.9721, allocations: 428.1 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.9721, allocations: 2.234 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.9722, allocations: 9.266 kB / 1.173 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.9722, allocations: 0.7969 kB / 1.173 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.9722, allocations: 5.406 kB / 1.173 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.9722, allocations: 0.5625 kB / 1.173 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9722, allocations: 0 / 1.173 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.9727, allocations: 257.3 kB / 1.173 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.9727, allocations: 85.67 kB / 1.173 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.9727, allocations: 5.969 kB / 1.173 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.9729, allocations: 6.766 kB / 1.173 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.9729, allocations: 7.516 kB / 1.173 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.9729, allocations: 6.094 kB / 1.173 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.431e-05/0.973, allocations: 108 kB / 1.173 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.973, allocations: 4 kB / 1.173 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004019/0.9734, allocations: 50.7 kB / 1.173 GB, free: 10.4 MB / 0.7448 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,occ.y,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 (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004536/0.9739, allocations: 170.3 kB / 1.173 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.9742, allocations: 97.58 kB / 1.174 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.9742, allocations: 0 / 1.174 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.9744, allocations: 54.64 kB / 1.174 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.9747, allocations: 6.578 kB / 1.174 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.9752, allocations: 226.7 kB / 1.174 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.9755, allocations: 0.6924 MB / 1.174 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.355e-05/0.9755, allocations: 9.359 kB / 1.174 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.9756, allocations: 12.8 kB / 1.174 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of SimCode: time 1.773e-06/0.9756, allocations: 3.938 kB / 1.174 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of Templates: time 0.005417/0.981, allocations: 1.776 MB / 1.176 GB, free: 8.098 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)