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.662/1.662, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001418/0.001418, allocations: 175.3 kB / 371.6 MB, free: 3.445 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.595/1.595, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009186/0.0009185, allocations: 88.97 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.461e-05/4.463e-05, allocations: 0 / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2864, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9096/1.196, allocations: 141.2 MB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/1.196, allocations: 79.56 kB / 1.118 GB, free: 42.89 MB / 0.7448 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.0104/1.207, allocations: 3.575 MB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.873e-06/1.207, allocations: 0 / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.864e-06/1.207, allocations: 4 kB / 1.121 GB, free: 40.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.0005171/1.207, allocations: 475.6 kB / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.207, allocations: 8.031 kB / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/1.208, allocations: 15.47 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/1.208, allocations: 177.1 kB / 1.122 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/1.208, allocations: 4 kB / 1.122 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/1.208, allocations: 11 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/1.208, allocations: 85.3 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.208, allocations: 0 / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/1.208, allocations: 4 kB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/1.208, allocations: 5.031 kB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/1.208, allocations: 38.41 kB / 1.122 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/1.209, allocations: 386.9 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/1.209, allocations: 56.83 kB / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/1.209, allocations: 38.7 kB / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/1.209, allocations: 4 kB / 1.123 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/1.209, allocations: 87.56 kB / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/1.209, allocations: 0 / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002911/1.209, allocations: 148.9 kB / 1.123 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/1.21, allocations: 63.05 kB / 1.123 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/1.21, allocations: 129.5 kB / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/1.21, allocations: 33.22 kB / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/1.21, allocations: 96.03 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/1.21, allocations: 22.86 kB / 1.123 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/1.21, allocations: 3.562 kB / 1.123 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.983e-05/1.21, allocations: 318 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.675e-05/1.21, allocations: 34.69 kB / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.506e-05/1.21, allocations: 66.45 kB / 1.123 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/1.21, allocations: 32.06 kB / 1.124 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.21, allocations: 4.844 kB / 1.124 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001845/1.21, allocations: 136.8 kB / 1.124 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.21, allocations: 4 kB / 1.124 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.21, allocations: 0 / 1.124 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.21, allocations: 4 kB / 1.124 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/1.21, allocations: 23.55 kB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.21, allocations: 0.625 kB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.362e-05/1.21, allocations: 19.22 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/1.211, allocations: 7.625 kB / 1.124 GB, free: 38.53 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 () * 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.0001209/1.211, allocations: 117.8 kB / 1.124 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/1.211, allocations: 8.703 kB / 1.124 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/1.211, allocations: 15.61 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.211, allocations: 0 / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.211, allocations: 1 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.211, allocations: 4 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/1.211, allocations: 440.9 kB / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.211, allocations: 4.109 kB / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/1.211, allocations: 15.45 kB / 1.124 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.211, allocations: 1.266 kB / 1.124 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/1.211, allocations: 7.5 kB / 1.124 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.211, allocations: 0.5 kB / 1.124 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.211, allocations: 3.953 kB / 1.124 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/1.212, allocations: 245.2 kB / 1.125 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/1.212, allocations: 89.02 kB / 1.125 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/1.212, allocations: 4 kB / 1.125 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/1.212, allocations: 11.33 kB / 1.125 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/1.212, allocations: 7.234 kB / 1.125 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/1.212, allocations: 7.25 kB / 1.125 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.311e-05/1.212, allocations: 107.8 kB / 1.125 GB, free: 37.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.212, allocations: 0 / 1.125 GB, free: 37.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003137/1.212, allocations: 58.42 kB / 1.125 GB, free: 37.51 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) * 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.0003953/1.213, allocations: 169.1 kB / 1.125 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001996/1.213, allocations: 89.61 kB / 1.125 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.213, allocations: 5.219 kB / 1.125 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/1.213, allocations: 45.44 kB / 1.125 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/1.213, allocations: 15.75 kB / 1.125 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/1.214, allocations: 133.5 kB / 1.125 GB, free: 37.15 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/1.214, allocations: 0.7067 MB / 1.126 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.104e-05/1.214, allocations: 4 kB / 1.126 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/1.214, allocations: 18.77 kB / 1.126 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.214, allocations: 0 / 1.126 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.004283/1.218, allocations: 1.98 MB / 1.128 GB, free: 35.35 MB / 0.7448 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)