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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.857/1.857, allocations: 293 MB / 309 MB, free: 4.855 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.0009475/0.0009475, allocations: 180.5 kB / 378.7 MB, free: 1.035 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.39/1.39, allocations: 205.4 MB / 0.6383 GB, free: 9.066 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.0007852/0.0007852, allocations: 88.36 kB / 0.7527 GB, free: 62.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005934/0.0005935, allocations: 19.98 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2623, allocations: 116.4 MB / 0.9904 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6624/0.9248, allocations: 141.4 MB / 1.129 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.9251, allocations: 88.17 kB / 1.129 GB, free: 33.02 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.01043/0.9355, allocations: 3.615 MB / 1.132 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9356, allocations: 4 kB / 1.132 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.9356, allocations: 0 / 1.132 GB, free: 30.42 MB / 0.7292 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.0005483/0.9361, allocations: 489.5 kB / 1.133 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.9362, allocations: 8.031 kB / 1.133 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.9362, allocations: 12.31 kB / 1.133 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.709e-05/0.9363, allocations: 183.6 kB / 1.133 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.9364, allocations: 12.38 kB / 1.133 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.9364, allocations: 4.375 kB / 1.133 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.9366, allocations: 105.5 kB / 1.133 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9366, allocations: 3.938 kB / 1.133 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.9366, allocations: 4 kB / 1.133 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9367, allocations: 0 / 1.133 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.9368, allocations: 74.69 kB / 1.133 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.9376, allocations: 376.1 kB / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.9378, allocations: 76.97 kB / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.9379, allocations: 63.7 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.9379, allocations: 112 / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.9381, allocations: 104.9 kB / 1.134 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.9382, allocations: 0 / 1.134 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0005373/0.9387, allocations: 237.9 kB / 1.134 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.9387, allocations: 54.88 kB / 1.134 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.9389, allocations: 146 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.9389, allocations: 29.7 kB / 1.134 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.9389, allocations: 100.4 kB / 1.134 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.939, allocations: 23.05 kB / 1.134 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.939, allocations: 0 / 1.134 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.939, allocations: 322.9 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.9391, allocations: 42.7 kB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.9393, allocations: 90.95 kB / 1.135 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.9395, allocations: 119.6 kB / 1.135 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9395, allocations: 0 / 1.135 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00029/0.9398, allocations: 172.1 kB / 1.135 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.9398, allocations: 4 kB / 1.135 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.9398, allocations: 1.312 kB / 1.135 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.9398, allocations: 4 kB / 1.135 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.94, allocations: 20.94 kB / 1.135 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.94, allocations: 3.422 kB / 1.135 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.372e-05/0.9401, allocations: 15.84 kB / 1.135 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.9401, allocations: 12.66 kB / 1.135 GB, free: 27.55 MB / 0.7292 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 8.113e-05/0.9402, allocations: 129.3 kB / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.9402, allocations: 8.656 kB / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.9403, allocations: 12.72 kB / 1.135 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.9403, allocations: 2.438 kB / 1.135 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9403, allocations: 0 / 1.135 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.9403, allocations: 7.359 kB / 1.135 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.9408, allocations: 468.5 kB / 1.136 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9408, allocations: 0 / 1.136 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.9409, allocations: 16.12 kB / 1.136 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9409, allocations: 0 / 1.136 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.9409, allocations: 11.55 kB / 1.136 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.9409, allocations: 5.156 kB / 1.136 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.941, allocations: 0 / 1.136 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.9413, allocations: 273.4 kB / 1.136 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.9413, allocations: 92.86 kB / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.9414, allocations: 7.938 kB / 1.136 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.9415, allocations: 8.234 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.9415, allocations: 12.64 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.9416, allocations: 7.516 kB / 1.136 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.9416, allocations: 102.6 kB / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.62e-07/0.9416, allocations: 0 / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003327/0.942, allocations: 55.36 kB / 1.136 GB, free: 26.36 MB / 0.7292 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.0003889/0.9424, allocations: 178.6 kB / 1.136 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.9427, allocations: 122.3 kB / 1.136 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9427, allocations: 1.125 kB / 1.136 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.9428, allocations: 63.16 kB / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.9431, allocations: 20.5 kB / 1.136 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.9436, allocations: 250.3 kB / 1.137 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.9437, allocations: 0.6985 MB / 1.137 GB, free: 25.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.133e-05/0.9438, allocations: 12.02 kB / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.9439, allocations: 16.98 kB / 1.137 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.9439, allocations: 0 / 1.137 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.005332/0.9492, allocations: 1.95 MB / 1.139 GB, free: 23.98 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)