Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.363/2.363, allocations: 252.6 MB / 265.2 MB, free: 5.809 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 173.5 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 0.5753 GB, free: 10.53 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 97.41 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.883e-05/3.893e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2422, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9138/1.156, allocations: 133.8 MB / 1.026 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/1.156, allocations: 80.83 kB / 1.026 GB, free: 0.7539 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01874/1.175, allocations: 3.586 MB / 1.029 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/1.175, allocations: 0 / 1.029 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.363e-05/1.175, allocations: 4 kB / 1.029 GB, free: 13.65 MB / 0.6511 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.0008864/1.176, allocations: 477.9 kB / 1.03 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.176, allocations: 12.03 kB / 1.03 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/1.176, allocations: 15.86 kB / 1.03 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/1.177, allocations: 176 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/1.177, allocations: 11.92 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/1.177, allocations: 4 kB / 1.03 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/1.177, allocations: 95.02 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.177, allocations: 0 / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/1.177, allocations: 0 / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/1.177, allocations: 4 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/1.177, allocations: 41.42 kB / 1.03 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/1.179, allocations: 380.2 kB / 1.03 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/1.179, allocations: 55.39 kB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/1.179, allocations: 41.67 kB / 1.03 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/1.179, allocations: 7.984 kB / 1.03 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/1.179, allocations: 85.86 kB / 1.03 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.046e-06/1.179, allocations: 3.938 kB / 1.03 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0005137/1.18, allocations: 149.4 kB / 1.031 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/1.18, allocations: 55.41 kB / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/1.18, allocations: 136.8 kB / 1.031 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/1.18, allocations: 29.33 kB / 1.031 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/1.18, allocations: 99.09 kB / 1.031 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/1.18, allocations: 19.73 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/1.18, allocations: 0 / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.18, allocations: 330.2 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/1.18, allocations: 24.06 kB / 1.031 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/1.181, allocations: 70.34 kB / 1.031 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/1.181, allocations: 33.11 kB / 1.031 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.181, allocations: 4 kB / 1.031 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003994/1.181, allocations: 130.2 kB / 1.031 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.181, allocations: 8 kB / 1.031 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/1.181, allocations: 0 / 1.031 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/1.181, allocations: 7.953 kB / 1.031 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/1.182, allocations: 19.97 kB / 1.032 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.182, allocations: 4 kB / 1.032 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/1.182, allocations: 19.22 kB / 1.032 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/1.182, allocations: 7.984 kB / 1.032 GB, free: 11.16 MB / 0.6511 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.0001443/1.182, allocations: 117.8 kB / 1.032 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/1.182, allocations: 11.84 kB / 1.032 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/1.182, allocations: 15.56 kB / 1.032 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.182, allocations: 0 / 1.032 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/1.182, allocations: 3.953 kB / 1.032 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.182, allocations: 0 / 1.032 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000852/1.183, allocations: 441 kB / 1.032 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.183, allocations: 0 / 1.032 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/1.183, allocations: 15.55 kB / 1.032 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/1.183, allocations: 0 / 1.032 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/1.183, allocations: 16 kB / 1.032 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.183, allocations: 0 / 1.032 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.183, allocations: 0 / 1.032 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/1.184, allocations: 243 kB / 1.032 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/1.184, allocations: 85 kB / 1.032 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/1.184, allocations: 11.36 kB / 1.032 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/1.184, allocations: 11.94 kB / 1.032 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/1.184, allocations: 7.984 kB / 1.032 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/1.184, allocations: 11.48 kB / 1.032 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000114/1.185, allocations: 106.3 kB / 1.033 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.185, allocations: 0 / 1.033 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005114/1.185, allocations: 59.69 kB / 1.033 GB, free: 10.05 MB / 0.6511 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.0005653/1.186, allocations: 166 kB / 1.033 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004044/1.186, allocations: 84.11 kB / 1.033 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.186, allocations: 0 / 1.033 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/1.186, allocations: 58.36 kB / 1.033 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/1.187, allocations: 13.58 kB / 1.033 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/1.187, allocations: 131.6 kB / 1.033 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/1.188, allocations: 0.6965 MB / 1.034 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001122/1.188, allocations: 11.98 kB / 1.034 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/1.188, allocations: 15.19 kB / 1.034 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.493e-06/1.188, allocations: 0 / 1.034 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.007644/1.196, allocations: 1.993 MB / 1.036 GB, free: 6.938 MB / 0.6511 GB