Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.511/1.511, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001041/0.001041, allocations: 172.8 kB / 366.7 MB, free: 1.672 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.368/1.368, allocations: 205.3 MB / 0.626 GB, free: 7.152 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.0008003/0.0008005, allocations: 80.84 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.486e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5585, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.7526, allocations: 140.5 MB / 1.111 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.7529, allocations: 79.95 kB / 1.111 GB, free: 9.582 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.01078/0.7637, allocations: 3.567 MB / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7637, allocations: 1.781 kB / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.7637, allocations: 5.469 kB / 1.114 GB, free: 6.047 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005137/0.7642, allocations: 467.1 kB / 1.115 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.7643, allocations: 8.031 kB / 1.115 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.7643, allocations: 12.62 kB / 1.115 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.7644, allocations: 187.4 kB / 1.115 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.7645, allocations: 4.812 kB / 1.115 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.7645, allocations: 8 kB / 1.115 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/0.7646, allocations: 33.5 kB / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.7648, allocations: 81.58 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.7648, allocations: 0 / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.7648, allocations: 4 kB / 1.115 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.7648, allocations: 4 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007847/0.7656, allocations: 345.3 kB / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.543e-05/0.7657, allocations: 50.69 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.7658, allocations: 44.8 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.7658, allocations: 160 / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.7659, allocations: 96.88 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.766, allocations: 0 / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003143/0.7663, allocations: 149.5 kB / 1.116 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.7663, allocations: 51.41 kB / 1.116 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.7664, allocations: 132.1 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.7664, allocations: 29.7 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.7665, allocations: 96.36 kB / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.7665, allocations: 19.7 kB / 1.116 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.7665, allocations: 0 / 1.116 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7667, allocations: 329.9 kB / 1.116 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.7667, allocations: 27.98 kB / 1.116 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.7668, allocations: 62.17 kB / 1.116 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.7669, allocations: 31.98 kB / 1.116 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7669, allocations: 4 kB / 1.116 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001867/0.7671, allocations: 121.4 kB / 1.116 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7671, allocations: 8 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7671, allocations: 96 / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7671, allocations: 8 kB / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.7672, allocations: 18.05 kB / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.7673, allocations: 4 kB / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.465e-05/0.7674, allocations: 19.86 kB / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.7674, allocations: 4 kB / 1.116 GB, free: 3.414 MB / 0.7136 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 () * 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 7.225e-05/0.7675, allocations: 112.9 kB / 1.117 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.7675, allocations: 15.81 kB / 1.117 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.7675, allocations: 8.609 kB / 1.117 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7675, allocations: 4 kB / 1.117 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.7675, allocations: 0 / 1.117 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7676, allocations: 0 / 1.117 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.768, allocations: 407 kB / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.768, allocations: 0 / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.7681, allocations: 8 kB / 1.117 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.7681, allocations: 11.98 kB / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.7681, allocations: 0 / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.7681, allocations: 0 / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7681, allocations: 7.875 kB / 1.117 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.7684, allocations: 240.9 kB / 1.117 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.7684, allocations: 87.89 kB / 1.117 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.7684, allocations: 4 kB / 1.117 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.7686, allocations: 15.98 kB / 1.117 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.7686, allocations: 7.938 kB / 1.117 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.7686, allocations: 3.984 kB / 1.117 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.7687, allocations: 106.5 kB / 1.117 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7687, allocations: 0 / 1.117 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002838/0.769, allocations: 51.94 kB / 1.117 GB, free: 2.266 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * 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.0003206/0.7694, allocations: 168.4 kB / 1.118 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.7695, allocations: 79.92 kB / 1.118 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7695, allocations: 0 / 1.118 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.575e-05/0.7696, allocations: 47.92 kB / 1.118 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.7698, allocations: 15.94 kB / 1.118 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.7701, allocations: 132.8 kB / 1.118 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.7703, allocations: 0.7002 MB / 1.119 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.508e-05/0.7704, allocations: 13.42 kB / 1.119 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.7704, allocations: 11.44 kB / 1.119 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7704, allocations: 0 / 1.119 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of Templates: time 0.004025/0.7745, allocations: 1.928 MB / 1.12 GB, free: 15.18 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)