Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.722/1.722, allocations: 297.8 MB / 313.7 MB, free: 48 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009943/0.0009945, allocations: 183.8 kB / 384.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008653/0.0008655, allocations: 91.95 kB / 0.7808 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004585, allocations: 12 kB / 0.9088 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6512/0.6517, allocations: 120.3 MB / 1.026 GB, free: 55.83 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.8322, allocations: 143.2 MB / 1.166 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.8325, allocations: 89.12 kB / 1.166 GB, free: 0.6719 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.009123/0.8417, allocations: 3.035 MB / 1.169 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.487e-06/0.8417, allocations: 0 / 1.169 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.8417, allocations: 7.938 kB / 1.169 GB, free: 14.5 MB / 0.7448 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.0004782/0.8422, allocations: 419.5 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.8422, allocations: 9.078 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.8423, allocations: 9.688 kB / 1.17 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.8424, allocations: 178.6 kB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.8424, allocations: 1.219 kB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.8424, allocations: 9.656 kB / 1.17 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.8426, allocations: 73.12 kB / 1.17 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.8426, allocations: 1.125 kB / 1.17 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.8426, allocations: 3.938 kB / 1.17 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.8426, allocations: 0 / 1.17 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.8428, allocations: 44.94 kB / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.8433, allocations: 316.1 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.8435, allocations: 53.67 kB / 1.17 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.8436, allocations: 40.09 kB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.8436, allocations: 0 / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.8438, allocations: 89.48 kB / 1.17 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.8438, allocations: 0.6562 kB / 1.17 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003731/0.8442, allocations: 143.3 kB / 1.171 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.8442, allocations: 56.02 kB / 1.171 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.8443, allocations: 131.2 kB / 1.171 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.8443, allocations: 25.7 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.8444, allocations: 91.27 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.8444, allocations: 20.73 kB / 1.171 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.8444, allocations: 4.531 kB / 1.171 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.8446, allocations: 318 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.8447, allocations: 34.73 kB / 1.171 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.8448, allocations: 54.89 kB / 1.171 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.8449, allocations: 76.09 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8449, allocations: 0 / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000258/0.8452, allocations: 120.4 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8452, allocations: 5.562 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8452, allocations: 1.328 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.8453, allocations: 4 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.8453, allocations: 16.34 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.8454, allocations: 0.8906 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.8454, allocations: 9.781 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.8455, allocations: 6.047 kB / 1.171 GB, free: 12.13 MB / 0.7448 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 () * 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 8.963e-05/0.8456, allocations: 128.8 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.8456, allocations: 3.906 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.8456, allocations: 14.56 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8456, allocations: 1.594 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8456, allocations: 1.781 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8456, allocations: 0.7031 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.8461, allocations: 388.2 kB / 1.172 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.8461, allocations: 0 / 1.172 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.8461, allocations: 8.484 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.8462, allocations: 1.922 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.8462, allocations: 4.688 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.8462, allocations: 0.6562 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8462, allocations: 4.875 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.8465, allocations: 222.4 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.8465, allocations: 85.86 kB / 1.172 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.8466, allocations: 0.75 kB / 1.172 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.8466, allocations: 6.469 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.8467, allocations: 10.05 kB / 1.172 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.8467, allocations: 5.219 kB / 1.172 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.8468, allocations: 98.84 kB / 1.172 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/0.8468, allocations: 0 / 1.172 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003284/0.8471, allocations: 46.06 kB / 1.172 GB, free: 11.09 MB / 0.7448 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 () * 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.0003658/0.8475, allocations: 169.7 kB / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.8477, allocations: 86 kB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8477, allocations: 0 / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.8478, allocations: 33.94 kB / 1.173 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.8481, allocations: 10.47 kB / 1.173 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.8485, allocations: 205.5 kB / 1.173 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.8488, allocations: 0.6882 MB / 1.174 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.8488, allocations: 6.766 kB / 1.174 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.8489, allocations: 16.8 kB / 1.174 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.8489, allocations: 0 / 1.174 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.004364/0.8532, allocations: 1.505 MB / 1.175 GB, free: 9.082 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)