Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 183.8 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 91.06 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.73e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6901, allocations: 115.3 MB / 0.9644 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.8723, allocations: 139.3 MB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.8726, allocations: 81.22 kB / 1.1 GB, free: 480 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 FrontEnd - DAE generated: time 0.009381/0.882, allocations: 2.953 MB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.884e-06/0.882, allocations: 1.406 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.882, allocations: 4 kB / 1.103 GB, free: 13.56 MB / 0.7136 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.0006125/0.8827, allocations: 414.2 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.8827, allocations: 12.56 kB / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.8828, allocations: 13.16 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.883, allocations: 167 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.883, allocations: 5.594 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.883, allocations: 4 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.467e-05/0.8831, allocations: 20 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.8833, allocations: 54.27 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.8833, allocations: 0 / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.8833, allocations: 0.6562 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.8833, allocations: 6.625 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.884, allocations: 296.3 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.8841, allocations: 35.14 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.8841, allocations: 29.59 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.8841, allocations: 0 / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.8843, allocations: 78.42 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.8843, allocations: 0 / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002573/0.8846, allocations: 90.33 kB / 1.105 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.8846, allocations: 56.28 kB / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.8847, allocations: 112.9 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.8847, allocations: 30.89 kB / 1.105 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.8848, allocations: 88.33 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.8848, allocations: 19.81 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.8848, allocations: 1.906 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.885, allocations: 322.8 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.8851, allocations: 16 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.8851, allocations: 44.86 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.8852, allocations: 20 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8852, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001774/0.8854, allocations: 91.55 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.8854, allocations: 9.25 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.8854, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.8854, allocations: 0.75 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.8856, allocations: 23.98 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8856, allocations: 0 / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.8856, allocations: 4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.8857, allocations: 11.98 kB / 1.105 GB, free: 11.34 MB / 0.7136 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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.785e-05/0.8858, allocations: 108.9 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.8858, allocations: 3.906 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.8858, allocations: 8.625 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8858, allocations: 5.875 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8859, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.8859, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.8862, allocations: 347 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8863, allocations: 0 / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.8863, allocations: 4 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8863, allocations: 0 / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.8863, allocations: 3.984 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8863, allocations: 0 / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8864, allocations: 1.5 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.8866, allocations: 199.4 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.8866, allocations: 84.98 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.8866, allocations: 0 / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.8867, allocations: 7.984 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.8868, allocations: 5.734 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.8868, allocations: 7.984 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.8869, allocations: 91.28 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8869, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003082/0.8872, allocations: 51.92 kB / 1.106 GB, free: 10.34 MB / 0.7136 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete 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.0003619/0.8875, allocations: 176.7 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.8877, allocations: 59.92 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8877, allocations: 0 / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/0.8878, allocations: 27.98 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.888, allocations: 3.953 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.8882, allocations: 102.8 kB / 1.107 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.8885, allocations: 0.6897 MB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.809e-05/0.8886, allocations: 12.3 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.8886, allocations: 15.42 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8886, allocations: 3.938 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.003753/0.8923, allocations: 1.491 MB / 1.109 GB, free: 7.777 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)