Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.261/2.261, allocations: 253.2 MB / 260.6 MB, free: 7.391 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.001488/0.001488, allocations: 182.2 kB / 319.9 MB, free: 3.02 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001133/0.001133, allocations: 86.72 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.089e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1949, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8821/1.077, allocations: 134.2 MB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/1.078, allocations: 81.08 kB / 1.02 GB, free: 3.117 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.03585/1.113, allocations: 3.794 MB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.894e-06/1.113, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.197e-06/1.113, allocations: 0 / 1.023 GB, free: 15.89 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001004/1.115, allocations: 0.5146 MB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.115, allocations: 12.02 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/1.115, allocations: 19.84 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/1.115, allocations: 188.7 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/1.115, allocations: 4 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/1.115, allocations: 4 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001937/1.115, allocations: 48.3 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/1.115, allocations: 92.56 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.115, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/1.115, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/1.115, allocations: 3.953 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/1.117, allocations: 391.6 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/1.117, allocations: 59.5 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/1.117, allocations: 42.92 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/1.117, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/1.118, allocations: 101.7 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 4.438e-06/1.118, allocations: 1.141 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.000552/1.118, allocations: 153.3 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.118, allocations: 51.41 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/1.118, allocations: 139.7 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/1.119, allocations: 25.7 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/1.119, allocations: 95.28 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/1.119, allocations: 31.41 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/1.119, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.119, allocations: 326.4 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/1.119, allocations: 19.19 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/1.119, allocations: 67.39 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/1.119, allocations: 26.8 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.119, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003291/1.12, allocations: 115.1 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.12, allocations: 5.406 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/1.12, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.12, allocations: 4 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/1.12, allocations: 31.67 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.12, allocations: 7.984 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/1.12, allocations: 23.95 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/1.12, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001299/1.12, allocations: 109.8 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/1.12, allocations: 11.91 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/1.12, allocations: 15.86 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.12, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.12, allocations: 3.953 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/1.12, allocations: 4 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008216/1.121, allocations: 414.5 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.121, allocations: 3.984 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/1.122, allocations: 15.98 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.122, allocations: 4 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/1.122, allocations: 3.5 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.122, allocations: 3.953 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.122, allocations: 0 / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/1.122, allocations: 247.2 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/1.122, allocations: 85.11 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/1.122, allocations: 7.922 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/1.123, allocations: 31.91 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/1.123, allocations: 18.25 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/1.123, allocations: 8 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001142/1.123, allocations: 105.3 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.123, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005442/1.124, allocations: 58.86 kB / 1.027 GB, free: 12.23 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0005541/1.124, allocations: 173.1 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003444/1.124, allocations: 79.67 kB / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.124, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/1.125, allocations: 52.55 kB / 1.027 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/1.125, allocations: 4 kB / 1.027 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/1.126, allocations: 143.3 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/1.126, allocations: 0.7043 MB / 1.028 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001092/1.126, allocations: 7.984 kB / 1.028 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/1.126, allocations: 11.44 kB / 1.028 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of SimCode: time 8.31e-07/1.126, allocations: 0 / 1.028 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of Templates: time 0.00735/1.134, allocations: 1.953 MB / 1.03 GB, free: 9.156 MB / 0.6511 GB