Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.143/5.143, allocations: 0.5623 GB / 0.5775 GB, free: 3.355 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.002538/0.002538, allocations: 366.4 kB / 0.6446 GB, free: 185.7 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.321/4.321, allocations: 410.7 MB / 1.113 GB, free: 6.008 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.001842/0.001842, allocations: 186.8 kB / 1.226 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004923, allocations: 12 kB / 1.349 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7845/0.785, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.9923, allocations: 139.9 MB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.9926, allocations: 87.89 kB / 1.598 GB, free: 144.3 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.01276/1.005, allocations: 2.989 MB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.493e-06/1.005, allocations: 0 / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.005, allocations: 1.75 kB / 1.601 GB, free: 141.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005838/1.006, allocations: 422.2 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.006, allocations: 11.62 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/1.006, allocations: 4 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.771e-05/1.006, allocations: 186.8 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/1.006, allocations: 4.688 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/1.006, allocations: 4 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/1.007, allocations: 70.66 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.007, allocations: 1.125 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/1.007, allocations: 2.109 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.007, allocations: 0 / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/1.007, allocations: 46.75 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007554/1.008, allocations: 321.8 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/1.008, allocations: 48.09 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/1.008, allocations: 34.75 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/1.008, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/1.008, allocations: 85.27 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/1.008, allocations: 4 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005693/1.009, allocations: 158.1 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/1.009, allocations: 59.36 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/1.009, allocations: 119.9 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/1.009, allocations: 29.7 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/1.009, allocations: 92.22 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/1.009, allocations: 15.81 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/1.009, allocations: 1.156 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/1.009, allocations: 322.8 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/1.009, allocations: 32.14 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/1.01, allocations: 59.34 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/1.01, allocations: 31.94 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.01, allocations: 1.375 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000368/1.01, allocations: 118.7 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.01, allocations: 8.938 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.01, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.01, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/1.01, allocations: 18.58 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/1.01, allocations: 7.891 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/1.011, allocations: 11.91 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/1.011, allocations: 4 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.556e-05/1.011, allocations: 118.2 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/1.011, allocations: 10.64 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/1.011, allocations: 16.38 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.011, allocations: 0 / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.011, allocations: 0 / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.011, allocations: 5.016 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/1.011, allocations: 387.8 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.011, allocations: 4.969 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/1.011, allocations: 4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/1.011, allocations: 6.391 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/1.011, allocations: 4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.011, allocations: 3.953 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.012, allocations: 0 / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/1.012, allocations: 209 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/1.012, allocations: 94.02 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/1.012, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/1.012, allocations: 11.94 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/1.012, allocations: 11.94 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/1.012, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.492e-05/1.012, allocations: 92.02 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.9e-07/1.012, allocations: 1.406 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004348/1.013, allocations: 51.94 kB / 1.604 GB, free: 137.7 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: 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.000481/1.013, allocations: 178.7 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003534/1.014, allocations: 67.91 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.014, allocations: 1.562 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/1.014, allocations: 39.97 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/1.014, allocations: 9.031 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/1.015, allocations: 202.9 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/1.015, allocations: 0.6898 MB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.924e-05/1.015, allocations: 10.77 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/1.015, allocations: 11.44 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/1.015, allocations: 0 / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005545/1.02, allocations: 1.523 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB