Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 100 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.001957/0.001957, 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.746/1.746, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.663/1.663, allocations: 251.9 MB / 0.51 GB, free: 4.809 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.000529/0.000529, allocations: 12 kB / 0.6241 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6776, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001933/0.6796, allocations: 1.199 MB / 0.7291 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.6809, allocations: 0.7256 MB / 0.7299 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.6809, allocations: 3.938 kB / 0.7299 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.681, allocations: 3.984 kB / 0.7299 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.575e-05/0.681, allocations: 3.984 kB / 0.7299 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.6816, allocations: 99.64 kB / 0.73 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.167e-05/0.6817, allocations: 47.94 kB / 0.73 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.6818, allocations: 4 kB / 0.73 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.581e-05/0.6819, allocations: 39.83 kB / 0.73 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.6819, allocations: 27.91 kB / 0.7301 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.6819, allocations: 7.984 kB / 0.7301 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.6821, allocations: 63.94 kB / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.6821, allocations: 19.91 kB / 0.7302 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.6822, allocations: 37.7 kB / 0.7302 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.6824, allocations: 97.73 kB / 0.7303 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6824, allocations: 0 / 0.7303 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6824, allocations: 3.938 kB / 0.7303 GB, free: 9.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.6824, allocations: 4 kB / 0.7303 GB, free: 9 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.0007423/0.6832, allocations: 404.8 kB / 0.7307 GB, free: 8.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.6832, allocations: 8.031 kB / 0.7307 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.6833, allocations: 11.86 kB / 0.7307 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.6834, allocations: 178.9 kB / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.6834, allocations: 0 / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.6835, allocations: 4 kB / 0.7309 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.6837, allocations: 81.58 kB / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.6837, allocations: 0 / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.6837, allocations: 7.984 kB / 0.731 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6837, allocations: 0 / 0.731 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.6839, allocations: 47.92 kB / 0.731 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.6845, allocations: 316.8 kB / 0.7313 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.6846, allocations: 54.55 kB / 0.7314 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.6847, allocations: 0 / 0.7314 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.6849, allocations: 79.44 kB / 0.7314 GB, free: 7.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.6849, allocations: 0 / 0.7314 GB, free: 7.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004268/0.6853, allocations: 157.6 kB / 0.7316 GB, free: 7.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.6854, allocations: 55.41 kB / 0.7316 GB, free: 7.434 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.6855, allocations: 121.8 kB / 0.7318 GB, free: 7.305 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.6855, allocations: 33.7 kB / 0.7318 GB, free: 7.266 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.6856, allocations: 84.33 kB / 0.7319 GB, free: 7.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.6856, allocations: 23.8 kB / 0.7319 GB, free: 7.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.6856, allocations: 0 / 0.7319 GB, free: 7.156 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002513/0.6859, allocations: 314.8 kB / 0.7322 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.018e-05/0.686, allocations: 35.97 kB / 0.7322 GB, free: 6.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.6861, allocations: 54.5 kB / 0.7323 GB, free: 6.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.923e-05/0.6862, allocations: 36.3 kB / 0.7323 GB, free: 6.707 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6862, allocations: 0 / 0.7323 GB, free: 6.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002526/0.6864, allocations: 125.5 kB / 0.7324 GB, free: 6.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.6864, allocations: 4 kB / 0.7324 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6865, allocations: 4.062 kB / 0.7324 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.6865, allocations: 4 kB / 0.7324 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.6866, allocations: 11.98 kB / 0.7325 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6866, allocations: 3.953 kB / 0.7325 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.6867, allocations: 15.84 kB / 0.7325 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.6867, allocations: 4 kB / 0.7325 GB, free: 6.531 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 9.006e-05/0.6868, allocations: 121.8 kB / 0.7326 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.6868, allocations: 11.98 kB / 0.7326 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.6869, allocations: 4.375 kB / 0.7326 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6869, allocations: 0 / 0.7326 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6869, allocations: 0 / 0.7326 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.6869, allocations: 3.953 kB / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.6873, allocations: 382.5 kB / 0.733 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6873, allocations: 4 kB / 0.733 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.6874, allocations: 7.938 kB / 0.733 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6874, allocations: 0 / 0.733 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.6874, allocations: 3.984 kB / 0.733 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.6874, allocations: 7.953 kB / 0.733 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6874, allocations: 7.875 kB / 0.733 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.6877, allocations: 219.4 kB / 0.7332 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.6878, allocations: 81.09 kB / 0.7333 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.6878, allocations: 0 / 0.7333 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.6879, allocations: 4 kB / 0.7333 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.6879, allocations: 11.94 kB / 0.7333 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.688, allocations: 4 kB / 0.7333 GB, free: 5.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.581e-05/0.688, allocations: 95.92 kB / 0.7334 GB, free: 5.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.688, allocations: 0 / 0.7334 GB, free: 5.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003404/0.6884, allocations: 43.94 kB / 0.7334 GB, free: 5.438 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.0003514/0.6887, allocations: 164.9 kB / 0.7336 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.689, allocations: 80.02 kB / 0.7337 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.689, allocations: 0 / 0.7337 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/0.6891, allocations: 35.92 kB / 0.7337 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.6893, allocations: 10.61 kB / 0.7337 GB, free: 5.164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.6897, allocations: 205.2 kB / 0.7339 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.69, allocations: 0.6965 MB / 0.7346 GB, free: 4.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.761e-05/0.69, allocations: 4.734 kB / 0.7346 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.6901, allocations: 15.42 kB / 0.7346 GB, free: 4.195 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.6901, allocations: 0 / 0.7346 GB, free: 4.195 MB / 0.545 GB Notification: Performance of Templates: time 0.00404/0.6941, allocations: 1.33 MB / 0.7359 GB, free: 2.871 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) Environment - environmentSimulation: