Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001805/0.001804, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.48/1.48, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.566/1.566, allocations: 251.7 MB / 0.5089 GB, free: 3.312 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.001267/0.001267, allocations: 71.89 kB / 0.6217 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5545, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003406/0.558, allocations: 1.566 MB / 0.7255 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.5595, allocations: 0.799 MB / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.5596, allocations: 4 kB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.5596, allocations: 0 / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.158e-05/0.5597, allocations: 15.86 kB / 0.7263 GB, free: 10.68 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 NFTyping.typeClassSections: time 0.0005982/0.5603, allocations: 123.8 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.5605, allocations: 107.7 kB / 0.7265 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.5606, allocations: 11.98 kB / 0.7266 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.137e-05/0.5607, allocations: 43.89 kB / 0.7266 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.5607, allocations: 47.83 kB / 0.7266 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.5608, allocations: 16 kB / 0.7267 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.5609, allocations: 99.84 kB / 0.7267 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.561, allocations: 31.89 kB / 0.7268 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.5611, allocations: 43.78 kB / 0.7268 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.5613, allocations: 161.6 kB / 0.727 GB, free: 10 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5614, allocations: 4 kB / 0.727 GB, free: 10 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5614, allocations: 0 / 0.727 GB, free: 10 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.5614, allocations: 0 / 0.727 GB, free: 10 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007275/0.5621, allocations: 462.5 kB / 0.7274 GB, free: 9.488 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5622, allocations: 8.031 kB / 0.7274 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.5622, allocations: 8.844 kB / 0.7274 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.5624, allocations: 180.2 kB / 0.7276 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.5624, allocations: 4.375 kB / 0.7276 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.5624, allocations: 4.375 kB / 0.7276 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.5627, allocations: 97.88 kB / 0.7277 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5627, allocations: 0 / 0.7277 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.5628, allocations: 0 / 0.7277 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.5628, allocations: 4 kB / 0.7277 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.563, allocations: 43.97 kB / 0.7278 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.5638, allocations: 344.6 kB / 0.7281 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.564, allocations: 66.55 kB / 0.7281 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.5641, allocations: 44.98 kB / 0.7282 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.5642, allocations: 7.922 kB / 0.7282 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.5644, allocations: 99.34 kB / 0.7283 GB, free: 8.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 2.905e-06/0.5644, allocations: 8.031 kB / 0.7283 GB, free: 8.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005662/0.565, allocations: 185.4 kB / 0.7285 GB, free: 8.281 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.5651, allocations: 59.39 kB / 0.7285 GB, free: 8.211 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.5652, allocations: 124.6 kB / 0.7287 GB, free: 8.082 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.5652, allocations: 29.7 kB / 0.7287 GB, free: 8.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.5653, allocations: 92.12 kB / 0.7288 GB, free: 7.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.5653, allocations: 27.73 kB / 0.7288 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.5654, allocations: 33.7 kB / 0.7288 GB, free: 7.887 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5655, allocations: 322.8 kB / 0.7291 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.5656, allocations: 27.98 kB / 0.7292 GB, free: 7.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.5657, allocations: 60.27 kB / 0.7292 GB, free: 7.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.5659, allocations: 100.1 kB / 0.7293 GB, free: 7.348 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5659, allocations: 0 / 0.7293 GB, free: 7.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002524/0.5662, allocations: 129.5 kB / 0.7294 GB, free: 7.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5662, allocations: 12.09 kB / 0.7295 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5662, allocations: 0 / 0.7295 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5662, allocations: 0 / 0.7295 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.5664, allocations: 19.92 kB / 0.7295 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.5664, allocations: 0 / 0.7295 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.5665, allocations: 19.89 kB / 0.7295 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.5665, allocations: 4 kB / 0.7295 GB, free: 7.16 MB / 0.545 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,occ.y,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 (13): * Single equations (assignments): 13 * 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.0001164/0.5666, allocations: 121.7 kB / 0.7296 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.5666, allocations: 11.91 kB / 0.7296 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.5667, allocations: 16.3 kB / 0.7296 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5667, allocations: 4 kB / 0.7296 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5667, allocations: 0 / 0.7296 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5667, allocations: 0 / 0.7296 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.5673, allocations: 422.4 kB / 0.73 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5673, allocations: 0 / 0.73 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.5674, allocations: 11.98 kB / 0.7301 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5674, allocations: 0 / 0.7301 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.5674, allocations: 8 kB / 0.7301 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.5674, allocations: 0 / 0.7301 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.5674, allocations: 11.94 kB / 0.7301 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.5678, allocations: 247.3 kB / 0.7303 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.5678, allocations: 89.02 kB / 0.7304 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.5679, allocations: 0 / 0.7304 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.568, allocations: 7.984 kB / 0.7304 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.568, allocations: 7.938 kB / 0.7304 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.568, allocations: 7.984 kB / 0.7304 GB, free: 6.113 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.5681, allocations: 95.27 kB / 0.7305 GB, free: 6.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5681, allocations: 0 / 0.7305 GB, free: 6.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003163/0.5684, allocations: 43.94 kB / 0.7305 GB, free: 5.977 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: 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 (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.0003459/0.5688, allocations: 163.7 kB / 0.7307 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.5691, allocations: 95.86 kB / 0.7308 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5691, allocations: 0 / 0.7308 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.5693, allocations: 52.16 kB / 0.7308 GB, free: 5.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.5695, allocations: 12.61 kB / 0.7309 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.57, allocations: 224 kB / 0.7311 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.5703, allocations: 0.6962 MB / 0.7318 GB, free: 4.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.495e-05/0.5704, allocations: 4 kB / 0.7318 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.5704, allocations: 15.42 kB / 0.7318 GB, free: 4.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5704, allocations: 0 / 0.7318 GB, free: 4.68 MB / 0.545 GB Notification: Performance of Templates: time 0.004147/0.5746, allocations: 1.714 MB / 0.7334 GB, free: 2.973 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)