Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.186/5.186, allocations: 0.5623 GB / 0.5776 GB, free: 3.395 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002443/0.002443, allocations: 359.7 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.207/4.207, allocations: 410.7 MB / 1.113 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001862/0.001862, allocations: 188.2 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006409/0.0006411, allocations: 11.98 kB / 1.349 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7218/0.7224, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/0.9328, allocations: 140.2 MB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.9332, allocations: 83.95 kB / 1.598 GB, free: 144 MB / 0.8542 GB [/var/lib/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.01657/0.9498, allocations: 3.616 MB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9498, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.9498, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 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.0007568/0.9506, allocations: 484.7 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.9506, allocations: 11.62 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.9507, allocations: 8.781 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.9508, allocations: 190.5 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.9509, allocations: 4.719 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.9509, allocations: 8 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.9513, allocations: 99.48 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9513, allocations: 4 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.9513, allocations: 4.594 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.9514, allocations: 0 / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.9517, allocations: 75.03 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.953, allocations: 380 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.9532, allocations: 74.39 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.9535, allocations: 60.83 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.9535, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.9538, allocations: 109.2 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.996e-06/0.9539, allocations: 0.6094 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.000893/0.9548, allocations: 242.2 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.9548, allocations: 51.41 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.9549, allocations: 146.4 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.955, allocations: 25.7 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.955, allocations: 101.8 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.9551, allocations: 23.94 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.9551, allocations: 0 / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.9552, allocations: 327.9 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.9554, allocations: 40.94 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.9556, allocations: 78.08 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.9558, allocations: 55.55 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9559, allocations: 0.5 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005198/0.9564, allocations: 164.3 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.9564, allocations: 8.641 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.9564, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.9565, allocations: 4.75 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.9567, allocations: 37.53 kB / 1.605 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.9567, allocations: 0 / 1.605 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.9569, allocations: 8 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.9569, allocations: 9.766 kB / 1.605 GB, free: 137.4 MB / 0.8542 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.0001088/0.9571, allocations: 130.8 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.9571, allocations: 7.906 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.9571, allocations: 12.72 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.9572, allocations: 12.34 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9572, allocations: 3.953 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.9572, allocations: 0 / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.958, allocations: 463.5 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.9581, allocations: 0.875 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.9582, allocations: 9.656 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9582, allocations: 0 / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.9582, allocations: 11.94 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.9582, allocations: 4 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9582, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.9589, allocations: 278.3 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.9589, allocations: 86.03 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.9589, allocations: 4 kB / 1.605 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.9591, allocations: 13.86 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.9592, allocations: 11.98 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.9592, allocations: 7.984 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.755e-05/0.9593, allocations: 108.3 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9593, allocations: 0 / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004348/0.9598, allocations: 56.7 kB / 1.606 GB, free: 136.2 MB / 0.8542 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.00042/0.9602, allocations: 182 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.9607, allocations: 120.3 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9607, allocations: 4 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.961, allocations: 59.91 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.9614, allocations: 16.64 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.962, allocations: 244.8 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.9621, allocations: 0.7035 MB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.242e-05/0.9622, allocations: 11.92 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.9623, allocations: 11.44 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/0.9623, allocations: 0 / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.006035/0.9683, allocations: 1.979 MB / 1.609 GB, free: 133 MB / 0.8542 GB