Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001353/0.001354, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.676/1.676, allocations: 251.9 MB / 0.51 GB, free: 4.84 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.0006732/0.0006733, allocations: 12 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.657, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001817/0.6589, allocations: 1.199 MB / 0.7291 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.6601, allocations: 0.7217 MB / 0.7298 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.6602, allocations: 7.938 kB / 0.7299 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.6602, allocations: 0 / 0.7299 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.134e-05/0.6603, allocations: 11.98 kB / 0.7299 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.6608, allocations: 95.62 kB / 0.73 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.271e-05/0.6609, allocations: 39.95 kB / 0.73 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.661, allocations: 15.97 kB / 0.73 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.6611, allocations: 31.86 kB / 0.73 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.6611, allocations: 35.89 kB / 0.7301 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.6612, allocations: 4 kB / 0.7301 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.6613, allocations: 63.94 kB / 0.7301 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.6614, allocations: 19.91 kB / 0.7302 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.6614, allocations: 33.7 kB / 0.7302 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.6616, allocations: 97.73 kB / 0.7303 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6616, allocations: 0 / 0.7303 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6616, allocations: 7.938 kB / 0.7303 GB, free: 9.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.6616, allocations: 3.938 kB / 0.7303 GB, free: 9.016 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.0006021/0.6622, allocations: 408.8 kB / 0.7307 GB, free: 8.562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.6623, allocations: 8.031 kB / 0.7307 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.6623, allocations: 11.86 kB / 0.7307 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.6624, allocations: 178.9 kB / 0.7309 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.6625, allocations: 12 kB / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.6625, allocations: 0 / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.6627, allocations: 69.66 kB / 0.7309 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.6627, allocations: 4 kB / 0.731 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.6627, allocations: 4 kB / 0.731 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.6627, allocations: 0 / 0.731 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.6629, allocations: 47.91 kB / 0.731 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.6635, allocations: 316.8 kB / 0.7313 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.6636, allocations: 46.56 kB / 0.7313 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.6636, allocations: 0 / 0.7313 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.6638, allocations: 91.48 kB / 0.7314 GB, free: 7.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.6638, allocations: 0 / 0.7314 GB, free: 7.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000398/0.6643, allocations: 153.5 kB / 0.7316 GB, free: 7.516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.6643, allocations: 59.34 kB / 0.7316 GB, free: 7.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.6644, allocations: 121.8 kB / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.6644, allocations: 33.7 kB / 0.7318 GB, free: 7.277 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.6645, allocations: 88.31 kB / 0.7319 GB, free: 7.188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.6645, allocations: 15.81 kB / 0.7319 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/0.6646, allocations: 0 / 0.7319 GB, free: 7.172 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6647, allocations: 322.8 kB / 0.7322 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.6648, allocations: 23.98 kB / 0.7322 GB, free: 6.824 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.083e-05/0.6649, allocations: 58.5 kB / 0.7323 GB, free: 6.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.665, allocations: 39.97 kB / 0.7323 GB, free: 6.719 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.665, allocations: 0 / 0.7323 GB, free: 6.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002277/0.6652, allocations: 121.5 kB / 0.7324 GB, free: 6.594 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.6652, allocations: 4 kB / 0.7324 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6653, allocations: 0 / 0.7324 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6653, allocations: 4 kB / 0.7324 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.6654, allocations: 11.98 kB / 0.7324 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.6654, allocations: 7.953 kB / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.6655, allocations: 11.84 kB / 0.7325 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.6655, allocations: 12.05 kB / 0.7325 GB, free: 6.543 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.6656, allocations: 120.5 kB / 0.7326 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.6656, allocations: 4 kB / 0.7326 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.6657, allocations: 8.375 kB / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6657, allocations: 0 / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6657, allocations: 0 / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.6657, allocations: 11.89 kB / 0.7326 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.6662, allocations: 390.4 kB / 0.733 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6662, allocations: 0 / 0.733 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.6662, allocations: 15.86 kB / 0.733 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6662, allocations: 0 / 0.733 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.6662, allocations: 4 kB / 0.733 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6662, allocations: 3.953 kB / 0.733 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6663, allocations: 0 / 0.733 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.6665, allocations: 219.4 kB / 0.7332 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.6666, allocations: 77.11 kB / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.6666, allocations: 0 / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/0.6667, allocations: 4 kB / 0.7333 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.6668, allocations: 15.94 kB / 0.7333 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.6668, allocations: 4 kB / 0.7333 GB, free: 5.586 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.787e-05/0.6669, allocations: 91.27 kB / 0.7334 GB, free: 5.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6669, allocations: 0 / 0.7334 GB, free: 5.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002945/0.6672, allocations: 43.92 kB / 0.7334 GB, free: 5.453 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 (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.000349/0.6675, allocations: 168.5 kB / 0.7336 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.6678, allocations: 75.91 kB / 0.7337 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6678, allocations: 0 / 0.7337 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.6679, allocations: 43.91 kB / 0.7337 GB, free: 5.176 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.6681, allocations: 9.891 kB / 0.7337 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.6685, allocations: 208.8 kB / 0.7339 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.6688, allocations: 0.6887 MB / 0.7346 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.131e-05/0.6689, allocations: 12.17 kB / 0.7346 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.6689, allocations: 11.44 kB / 0.7346 GB, free: 4.207 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6689, allocations: 0 / 0.7346 GB, free: 4.207 MB / 0.545 GB Notification: Performance of Templates: time 0.0042/0.6731, allocations: 1.33 MB / 0.7359 GB, free: 2.883 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) Environment - environmentSimulation: