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.483/2.483, allocations: 252.6 MB / 265.2 MB, free: 5.695 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.001417/0.001417, allocations: 175.8 kB / 324.5 MB, free: 14.41 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.04/2.04, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.00111/0.001109, allocations: 97.95 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.511e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1969, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8715/1.068, allocations: 133.9 MB / 1.026 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/1.069, allocations: 83.44 kB / 1.026 GB, free: 0.5391 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.01939/1.088, allocations: 3.803 MB / 1.029 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.264e-06/1.088, allocations: 4 kB / 1.029 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.106e-05/1.088, allocations: 4 kB / 1.029 GB, free: 13.25 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.0009006/1.089, allocations: 0.5111 MB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.089, allocations: 8.031 kB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/1.089, allocations: 15.77 kB / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/1.09, allocations: 190.8 kB / 1.03 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/1.09, allocations: 7.5 kB / 1.03 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/1.09, allocations: 4 kB / 1.03 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/1.09, allocations: 95.44 kB / 1.03 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.09, allocations: 0.875 kB / 1.03 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/1.09, allocations: 4 kB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.09, allocations: 0 / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/1.09, allocations: 61.56 kB / 1.03 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/1.092, allocations: 409.9 kB / 1.031 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/1.092, allocations: 57.2 kB / 1.031 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/1.092, allocations: 53.75 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/1.092, allocations: 7.922 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/1.092, allocations: 103.6 kB / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.226e-06/1.092, allocations: 0 / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0005526/1.093, allocations: 162.7 kB / 1.031 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.093, allocations: 51.56 kB / 1.031 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/1.093, allocations: 133.9 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/1.093, allocations: 29.14 kB / 1.031 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/1.093, allocations: 101.5 kB / 1.031 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/1.093, allocations: 19.16 kB / 1.031 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/1.093, allocations: 3.312 kB / 1.031 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.094, allocations: 322.3 kB / 1.032 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.906e-05/1.094, allocations: 30.36 kB / 1.032 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/1.094, allocations: 65.03 kB / 1.032 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/1.094, allocations: 34.48 kB / 1.032 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.094, allocations: 0 / 1.032 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003441/1.094, allocations: 129.9 kB / 1.032 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.094, allocations: 5.562 kB / 1.032 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.094, allocations: 7.953 kB / 1.032 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.094, allocations: 4 kB / 1.032 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/1.095, allocations: 23.97 kB / 1.032 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.095, allocations: 4 kB / 1.032 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/1.095, allocations: 23.91 kB / 1.032 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/1.095, allocations: 7.984 kB / 1.032 GB, free: 10.62 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.0001217/1.095, allocations: 112.7 kB / 1.032 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/1.095, allocations: 11.91 kB / 1.032 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/1.095, allocations: 7.125 kB / 1.032 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.095, allocations: 7.953 kB / 1.032 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.095, allocations: 0 / 1.032 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.095, allocations: 3.984 kB / 1.032 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008304/1.096, allocations: 455.1 kB / 1.033 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.096, allocations: 0 / 1.033 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/1.096, allocations: 15.98 kB / 1.033 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/1.096, allocations: 3.953 kB / 1.033 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/1.096, allocations: 4 kB / 1.033 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.096, allocations: 0 / 1.033 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.351e-06/1.096, allocations: 4.125 kB / 1.033 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/1.097, allocations: 257.6 kB / 1.033 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/1.097, allocations: 88.38 kB / 1.033 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/1.097, allocations: 7.953 kB / 1.033 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/1.097, allocations: 31.91 kB / 1.033 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/1.098, allocations: 11.42 kB / 1.033 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/1.098, allocations: 4 kB / 1.033 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001055/1.098, allocations: 112.9 kB / 1.033 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.098, allocations: 0 / 1.033 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004818/1.098, allocations: 50.8 kB / 1.033 GB, free: 9.484 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.0005478/1.099, allocations: 179.2 kB / 1.033 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003665/1.099, allocations: 92.64 kB / 1.033 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.099, allocations: 3.938 kB / 1.033 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/1.099, allocations: 47.92 kB / 1.033 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/1.1, allocations: 10.34 kB / 1.033 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/1.1, allocations: 150 kB / 1.034 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/1.101, allocations: 0.7085 MB / 1.034 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.58e-05/1.101, allocations: 4 kB / 1.034 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/1.101, allocations: 15.42 kB / 1.034 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/1.101, allocations: 0 / 1.034 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.007445/1.108, allocations: 2 MB / 1.036 GB, free: 6.344 MB / 0.6511 GB