Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00101/0.00101, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008842/0.008842, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005116, allocations: 12 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.555/0.5555, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001816/0.5574, allocations: 1.219 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.5587, allocations: 0.768 MB / 0.7307 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.5588, allocations: 0 / 0.7307 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.5588, allocations: 0 / 0.7307 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.5589, allocations: 7.875 kB / 0.7307 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.5594, allocations: 107.8 kB / 0.7308 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.5595, allocations: 79.75 kB / 0.7308 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.5596, allocations: 8 kB / 0.7309 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.715e-05/0.5597, allocations: 27.92 kB / 0.7309 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.5599, allocations: 43.81 kB / 0.7309 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.5599, allocations: 4 kB / 0.7309 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.5601, allocations: 87.84 kB / 0.731 GB, free: 8.918 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.5601, allocations: 19.92 kB / 0.731 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.5602, allocations: 53.56 kB / 0.7311 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.5604, allocations: 133.6 kB / 0.7312 GB, free: 8.711 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5604, allocations: 0 / 0.7312 GB, free: 8.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.285e-06/0.5604, allocations: 0 / 0.7312 GB, free: 8.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5604, allocations: 0 / 0.7312 GB, free: 8.711 MB / 0.545 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.0006151/0.561, allocations: 409 kB / 0.7316 GB, free: 8.258 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5611, allocations: 16.03 kB / 0.7316 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.5611, allocations: 8.844 kB / 0.7316 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.5613, allocations: 176.2 kB / 0.7318 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.5613, allocations: 4.375 kB / 0.7318 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.5613, allocations: 8.375 kB / 0.7318 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.5615, allocations: 69.97 kB / 0.7319 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5615, allocations: 0 / 0.7319 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.5616, allocations: 4 kB / 0.7319 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5616, allocations: 7.984 kB / 0.7319 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.5617, allocations: 43.97 kB / 0.7319 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.5623, allocations: 328.7 kB / 0.7322 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.5625, allocations: 54.48 kB / 0.7323 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.5626, allocations: 32.97 kB / 0.7323 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.5626, allocations: 7.938 kB / 0.7323 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.5628, allocations: 87.28 kB / 0.7324 GB, free: 7.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.5628, allocations: 0 / 0.7324 GB, free: 7.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003894/0.5632, allocations: 145.6 kB / 0.7325 GB, free: 7.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.5633, allocations: 55.41 kB / 0.7326 GB, free: 7.094 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.951e-05/0.5634, allocations: 129.7 kB / 0.7327 GB, free: 6.957 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.5634, allocations: 25.7 kB / 0.7327 GB, free: 6.926 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.5635, allocations: 88.14 kB / 0.7328 GB, free: 6.836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.5635, allocations: 15.88 kB / 0.7328 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.5635, allocations: 21.7 kB / 0.7329 GB, free: 6.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5637, allocations: 326.8 kB / 0.7332 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.5638, allocations: 27.98 kB / 0.7332 GB, free: 6.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.5639, allocations: 51 kB / 0.7333 GB, free: 6.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.564, allocations: 86.48 kB / 0.7333 GB, free: 6.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5641, allocations: 0 / 0.7333 GB, free: 6.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000246/0.5643, allocations: 113.5 kB / 0.7334 GB, free: 6.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5643, allocations: 5.719 kB / 0.7335 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5643, allocations: 4 kB / 0.7335 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5644, allocations: 0 / 0.7335 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.5645, allocations: 15.98 kB / 0.7335 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5645, allocations: 8.062 kB / 0.7335 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.242e-05/0.5645, allocations: 11.88 kB / 0.7335 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.5646, allocations: 4 kB / 0.7335 GB, free: 6.121 MB / 0.545 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.0001074/0.5647, allocations: 121.8 kB / 0.7336 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.5647, allocations: 7.906 kB / 0.7336 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.5648, allocations: 8.375 kB / 0.7336 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.5648, allocations: 3.938 kB / 0.7336 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5648, allocations: 4 kB / 0.7336 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5648, allocations: 4 kB / 0.7336 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.5652, allocations: 386.4 kB / 0.734 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5653, allocations: 0 / 0.734 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.5653, allocations: 7.984 kB / 0.734 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5653, allocations: 0 / 0.734 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.5653, allocations: 8 kB / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5653, allocations: 0 / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5653, allocations: 3.938 kB / 0.734 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.5656, allocations: 207.4 kB / 0.7342 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.5657, allocations: 89 kB / 0.7343 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.5657, allocations: 8 kB / 0.7343 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.5658, allocations: 4 kB / 0.7343 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.5659, allocations: 15.8 kB / 0.7343 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.5659, allocations: 4 kB / 0.7343 GB, free: 5.156 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.5659, allocations: 95.42 kB / 0.7344 GB, free: 5.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5659, allocations: 0 / 0.7344 GB, free: 5.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003069/0.5663, allocations: 39.94 kB / 0.7345 GB, free: 5.023 MB / 0.545 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.0003955/0.5667, allocations: 166.5 kB / 0.7346 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.5669, allocations: 79.88 kB / 0.7347 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5669, allocations: 4 kB / 0.7347 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.795e-05/0.567, allocations: 40.11 kB / 0.7347 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.5673, allocations: 9.062 kB / 0.7348 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.5678, allocations: 209.1 kB / 0.7349 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.5681, allocations: 0.6965 MB / 0.7356 GB, free: 3.781 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.5681, allocations: 4 kB / 0.7356 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.5682, allocations: 11.44 kB / 0.7356 GB, free: 3.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5682, allocations: 0 / 0.7356 GB, free: 3.77 MB / 0.545 GB Notification: Performance of Templates: time 0.004093/0.5723, allocations: 1.361 MB / 0.737 GB, free: 2.422 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) Environment - environmentSimulation: