Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.688/1.688, allocations: 297.8 MB / 313.7 MB, free: 144 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.0009278/0.0009278, allocations: 184.5 kB / 384.6 MB, free: 10.87 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.401/1.401, allocations: 223.2 MB / 0.6626 GB, free: 4.352 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.0008899/0.0008899, allocations: 96.81 kB / 0.7808 GB, free: 43.71 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004348, allocations: 12 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6973/0.6978, allocations: 120.3 MB / 1.026 GB, free: 56.66 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.8914, allocations: 143.2 MB / 1.166 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.8917, allocations: 80.98 kB / 1.166 GB, free: 14.93 MB / 0.7448 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.009272/0.901, allocations: 3.042 MB / 1.169 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9011, allocations: 0.9375 kB / 1.169 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.9011, allocations: 4 kB / 1.169 GB, free: 11.93 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.0005076/0.9016, allocations: 414.2 kB / 1.17 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.9016, allocations: 16.03 kB / 1.17 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.9017, allocations: 12.83 kB / 1.17 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.9018, allocations: 176.2 kB / 1.17 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.9018, allocations: 4.375 kB / 1.17 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.9019, allocations: 5.406 kB / 1.17 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.902, allocations: 66.22 kB / 1.17 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.9021, allocations: 192 / 1.17 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.9021, allocations: 11.94 kB / 1.17 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.9021, allocations: 0 / 1.17 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.9022, allocations: 47.91 kB / 1.17 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.9028, allocations: 308.8 kB / 1.17 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.903, allocations: 62.48 kB / 1.17 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.9031, allocations: 36.97 kB / 1.17 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.9031, allocations: 1.031 kB / 1.17 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.9033, allocations: 87.38 kB / 1.17 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.9033, allocations: 0 / 1.17 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003755/0.9037, allocations: 141.6 kB / 1.171 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.9037, allocations: 51.41 kB / 1.171 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.9038, allocations: 137 kB / 1.171 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.9039, allocations: 29.7 kB / 1.171 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.9039, allocations: 88.14 kB / 1.171 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.904, allocations: 11.81 kB / 1.171 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.904, allocations: 4 kB / 1.171 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9041, allocations: 322.8 kB / 1.171 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.9042, allocations: 23.98 kB / 1.171 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.9043, allocations: 63.34 kB / 1.171 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.9045, allocations: 91.41 kB / 1.171 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.9045, allocations: 0 / 1.171 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002625/0.9048, allocations: 123.7 kB / 1.171 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.9048, allocations: 4 kB / 1.171 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.9048, allocations: 4 kB / 1.171 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.9048, allocations: 0 / 1.171 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.9049, allocations: 12.05 kB / 1.171 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.905, allocations: 8 kB / 1.171 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.905, allocations: 7.938 kB / 1.171 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.9051, allocations: 4 kB / 1.171 GB, free: 9.363 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.0001016/0.9052, allocations: 131.4 kB / 1.172 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.9052, allocations: 7.906 kB / 1.172 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.9052, allocations: 8.375 kB / 1.172 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.9052, allocations: 4 kB / 1.172 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9052, allocations: 8.062 kB / 1.172 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9053, allocations: 0 / 1.172 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.9057, allocations: 386.4 kB / 1.172 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9057, allocations: 0 / 1.172 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.9058, allocations: 7.984 kB / 1.172 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.9058, allocations: 4 kB / 1.172 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.9058, allocations: 4 kB / 1.172 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.9058, allocations: 0 / 1.172 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9058, allocations: 3.938 kB / 1.172 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.9061, allocations: 223.7 kB / 1.172 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.9061, allocations: 81.02 kB / 1.172 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.9062, allocations: 8 kB / 1.172 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.9063, allocations: 4 kB / 1.172 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.9063, allocations: 7.922 kB / 1.172 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.9063, allocations: 7.938 kB / 1.172 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.496e-05/0.9064, allocations: 91.27 kB / 1.172 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9064, allocations: 0 / 1.172 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003139/0.9067, allocations: 47.98 kB / 1.172 GB, free: 8.25 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.0003604/0.9071, allocations: 180.8 kB / 1.173 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.9073, allocations: 79.89 kB / 1.173 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9074, allocations: 0 / 1.173 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.655e-05/0.9075, allocations: 40.11 kB / 1.173 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.9077, allocations: 0.75 kB / 1.173 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.9081, allocations: 209.6 kB / 1.173 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.9084, allocations: 0.6926 MB / 1.174 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.9085, allocations: 2.766 kB / 1.174 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.9085, allocations: 15.42 kB / 1.174 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.9085, allocations: 0 / 1.174 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.004153/0.9127, allocations: 1.502 MB / 1.175 GB, free: 5.52 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)