Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.801/4.801, allocations: 0.5623 GB / 0.5775 GB, free: 66.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002589/0.002589, allocations: 354.8 kB / 0.6446 GB, free: 21.52 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.238/4.238, allocations: 410.7 MB / 1.113 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002454/0.002454, allocations: 182.1 kB / 1.226 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006579/0.0006582, allocations: 18.19 kB / 1.349 GB, free: 321.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2193, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.4243, allocations: 139.9 MB / 1.598 GB, free: 80.7 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.4246, allocations: 84.58 kB / 1.598 GB, free: 80.61 MB / 0.8073 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.0129/0.4375, allocations: 2.983 MB / 1.601 GB, free: 77.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4376, allocations: 0.625 kB / 1.601 GB, free: 77.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.4376, allocations: 5.406 kB / 1.601 GB, free: 77.64 MB / 0.8073 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.0006008/0.4382, allocations: 426.2 kB / 1.601 GB, free: 77.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4382, allocations: 8.75 kB / 1.601 GB, free: 77.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.4383, allocations: 7.906 kB / 1.601 GB, free: 77.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4384, allocations: 175 kB / 1.601 GB, free: 76.94 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.4385, allocations: 5.719 kB / 1.601 GB, free: 76.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.4385, allocations: 4 kB / 1.601 GB, free: 76.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.4388, allocations: 74.56 kB / 1.602 GB, free: 76.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4388, allocations: 0 / 1.602 GB, free: 76.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4388, allocations: 0 / 1.602 GB, free: 76.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4388, allocations: 4.562 kB / 1.602 GB, free: 76.85 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.4391, allocations: 45.06 kB / 1.602 GB, free: 76.81 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007453/0.4398, allocations: 319.6 kB / 1.602 GB, free: 76.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.44, allocations: 48.66 kB / 1.602 GB, free: 76.39 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.4402, allocations: 38.25 kB / 1.602 GB, free: 76.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.4402, allocations: 0 / 1.602 GB, free: 76.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.4404, allocations: 85.47 kB / 1.602 GB, free: 76.26 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.4404, allocations: 0 / 1.602 GB, free: 76.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0005616/0.441, allocations: 147.7 kB / 1.602 GB, free: 76.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.4411, allocations: 63.42 kB / 1.602 GB, free: 76.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.4412, allocations: 122.7 kB / 1.602 GB, free: 75.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.4412, allocations: 25.7 kB / 1.602 GB, free: 75.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.4413, allocations: 94.28 kB / 1.603 GB, free: 75.78 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.4413, allocations: 15.81 kB / 1.603 GB, free: 75.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.4413, allocations: 0 / 1.603 GB, free: 75.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.4414, allocations: 318.8 kB / 1.603 GB, free: 75.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.4415, allocations: 37.7 kB / 1.603 GB, free: 75.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4417, allocations: 53.05 kB / 1.603 GB, free: 75.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.4418, allocations: 34.78 kB / 1.603 GB, free: 75.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4418, allocations: 4 kB / 1.603 GB, free: 75.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000348/0.4422, allocations: 118.8 kB / 1.603 GB, free: 75.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4422, allocations: 4 kB / 1.603 GB, free: 75.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4422, allocations: 4.516 kB / 1.603 GB, free: 75.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4423, allocations: 4 kB / 1.603 GB, free: 75.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.4425, allocations: 13.14 kB / 1.603 GB, free: 75.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4425, allocations: 3.953 kB / 1.603 GB, free: 75.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.4426, allocations: 17.22 kB / 1.603 GB, free: 75.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.4426, allocations: 3.984 kB / 1.603 GB, free: 75.15 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$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 9.941e-05/0.4428, allocations: 128.6 kB / 1.603 GB, free: 75.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.4428, allocations: 3.906 kB / 1.603 GB, free: 75.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.4428, allocations: 12.38 kB / 1.603 GB, free: 75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4428, allocations: 0 / 1.603 GB, free: 75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4429, allocations: 0 / 1.603 GB, free: 75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4429, allocations: 3.953 kB / 1.603 GB, free: 75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.4435, allocations: 384.2 kB / 1.604 GB, free: 74.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4435, allocations: 0.625 kB / 1.604 GB, free: 74.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.105e-05/0.4435, allocations: 9.172 kB / 1.604 GB, free: 74.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4436, allocations: 0 / 1.604 GB, free: 74.56 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4436, allocations: 0 / 1.604 GB, free: 74.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4436, allocations: 4.672 kB / 1.604 GB, free: 74.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4436, allocations: 0 / 1.604 GB, free: 74.56 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.444, allocations: 222 kB / 1.604 GB, free: 74.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.444, allocations: 85.05 kB / 1.604 GB, free: 74.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.4441, allocations: 0.8438 kB / 1.604 GB, free: 74.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.4442, allocations: 8.484 kB / 1.604 GB, free: 74.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.4443, allocations: 13.02 kB / 1.604 GB, free: 74.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.4443, allocations: 4 kB / 1.604 GB, free: 74.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.256e-05/0.4444, allocations: 103.7 kB / 1.604 GB, free: 74.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4444, allocations: 0 / 1.604 GB, free: 74.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004199/0.4448, allocations: 48.58 kB / 1.604 GB, free: 74.05 MB / 0.8073 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.0004377/0.4453, allocations: 168.7 kB / 1.604 GB, free: 73.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.4456, allocations: 83.25 kB / 1.604 GB, free: 73.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4456, allocations: 0 / 1.604 GB, free: 73.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.4458, allocations: 35.98 kB / 1.604 GB, free: 73.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.4461, allocations: 11.41 kB / 1.604 GB, free: 73.78 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.4467, allocations: 203.1 kB / 1.605 GB, free: 73.55 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.4468, allocations: 0.69 MB / 1.605 GB, free: 72.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.987e-05/0.4469, allocations: 12.73 kB / 1.605 GB, free: 72.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.4469, allocations: 15.94 kB / 1.605 GB, free: 72.81 MB / 0.8073 GB Notification: Performance of SimCode: time 1.001e-06/0.447, allocations: 1.031 kB / 1.605 GB, free: 72.81 MB / 0.8073 GB Notification: Performance of Templates: time 0.005415/0.4524, allocations: 1.513 MB / 1.607 GB, free: 71.38 MB / 0.8073 GB