Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.69/1.69, allocations: 297.8 MB / 313.7 MB, free: 68 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.00101/0.00101, allocations: 176.5 kB / 384.6 MB, free: 10.79 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.51/1.51, allocations: 223.2 MB / 0.6626 GB, free: 4.195 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.0008156/0.0008156, allocations: 96.14 kB / 0.7808 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004405, allocations: 16 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6539, allocations: 120.3 MB / 1.026 GB, free: 55.78 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.8351, allocations: 143.5 MB / 1.166 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.8354, allocations: 87.28 kB / 1.167 GB, free: 436 kB / 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.01193/0.8473, allocations: 3.667 MB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.376e-06/0.8474, allocations: 1.781 kB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.8474, allocations: 0 / 1.17 GB, free: 13.82 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007676/0.8482, allocations: 478 kB / 1.171 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.8482, allocations: 12.03 kB / 1.171 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.8483, allocations: 13.03 kB / 1.171 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.8484, allocations: 191.8 kB / 1.171 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.8485, allocations: 384 / 1.171 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.8485, allocations: 9.922 kB / 1.171 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.8488, allocations: 107.6 kB / 1.171 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.8488, allocations: 1.391 kB / 1.171 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.8488, allocations: 0 / 1.171 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.8489, allocations: 8.438 kB / 1.171 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.8491, allocations: 74.52 kB / 1.171 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008617/0.8499, allocations: 373.7 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.8501, allocations: 75.94 kB / 1.171 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.8503, allocations: 58.45 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.8503, allocations: 4 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.8505, allocations: 108.2 kB / 1.172 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.8505, allocations: 0 / 1.172 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0005921/0.8511, allocations: 232.7 kB / 1.172 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.8512, allocations: 56.64 kB / 1.172 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.8514, allocations: 146.8 kB / 1.172 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.8514, allocations: 25.7 kB / 1.172 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.8515, allocations: 99.89 kB / 1.172 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.8515, allocations: 26.7 kB / 1.172 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.8515, allocations: 4 kB / 1.172 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8516, allocations: 318.7 kB / 1.172 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.8518, allocations: 52.86 kB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.852, allocations: 79.48 kB / 1.173 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.8522, allocations: 122.5 kB / 1.173 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8522, allocations: 0 / 1.173 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003636/0.8526, allocations: 168.2 kB / 1.173 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.8526, allocations: 8.609 kB / 1.173 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8526, allocations: 0 / 1.173 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8526, allocations: 4 kB / 1.173 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.8528, allocations: 16.97 kB / 1.173 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.8528, allocations: 4.562 kB / 1.173 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.8529, allocations: 26.83 kB / 1.173 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.8529, allocations: 9.391 kB / 1.173 GB, free: 10.98 MB / 0.7448 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001145/0.8531, allocations: 123.5 kB / 1.173 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.8531, allocations: 13.48 kB / 1.173 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.8531, allocations: 10.12 kB / 1.173 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.8531, allocations: 4.891 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8532, allocations: 0 / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.8532, allocations: 4.688 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.8538, allocations: 471.6 kB / 1.173 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8538, allocations: 0 / 1.173 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.8539, allocations: 11.7 kB / 1.173 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.8539, allocations: 0 / 1.173 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.8539, allocations: 10.09 kB / 1.173 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.854, allocations: 0 / 1.173 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.854, allocations: 1.516 kB / 1.173 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.8544, allocations: 277.8 kB / 1.174 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.8544, allocations: 89.44 kB / 1.174 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.8545, allocations: 7.156 kB / 1.174 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.8546, allocations: 13.92 kB / 1.174 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.8546, allocations: 7.469 kB / 1.174 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.8547, allocations: 5.734 kB / 1.174 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.479e-05/0.8547, allocations: 113.2 kB / 1.174 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8548, allocations: 0 / 1.174 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003553/0.8551, allocations: 53.72 kB / 1.174 GB, free: 9.793 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: 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 (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003754/0.8555, allocations: 177 kB / 1.174 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.8559, allocations: 120.1 kB / 1.174 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8559, allocations: 3.938 kB / 1.174 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.856, allocations: 64.05 kB / 1.174 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.8563, allocations: 17.05 kB / 1.174 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.8568, allocations: 253.6 kB / 1.175 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.8571, allocations: 0.7024 MB / 1.175 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.198e-05/0.8571, allocations: 7.422 kB / 1.175 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.8572, allocations: 12.19 kB / 1.175 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of SimCode: time 3e-07/0.8572, allocations: 0 / 1.175 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.004752/0.8619, allocations: 1.953 MB / 1.177 GB, free: 6.984 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)