Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.303/2.303, allocations: 253.2 MB / 260.6 MB, free: 7.383 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.001433/0.001433, allocations: 181.9 kB / 319.9 MB, free: 3.082 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.192/2.192, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001062/0.001062, allocations: 97.08 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.309e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2153, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8807/1.096, allocations: 133.7 MB / 1.019 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.096, allocations: 82.5 kB / 1.019 GB, free: 3.566 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.01417/1.111, allocations: 2.964 MB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/1.111, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.111, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 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.0006777/1.111, allocations: 418.8 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.111, allocations: 8.031 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/1.112, allocations: 11.86 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/1.112, allocations: 170.9 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/1.112, allocations: 4 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/1.112, allocations: 0.9375 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001097/1.112, allocations: 25.23 kB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/1.112, allocations: 62.86 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.112, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.112, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.112, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008199/1.113, allocations: 293.1 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/1.113, allocations: 44.08 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/1.113, allocations: 24.17 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/1.113, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/1.113, allocations: 70.59 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/1.113, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003423/1.114, allocations: 90.7 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/1.114, allocations: 62.17 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/1.114, allocations: 113.5 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/1.114, allocations: 29.7 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/1.114, allocations: 91.75 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/1.114, allocations: 23.25 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/1.114, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.114, allocations: 318.2 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/1.114, allocations: 22.56 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/1.114, allocations: 42.62 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/1.115, allocations: 23.55 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.115, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002671/1.115, allocations: 92.33 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.115, allocations: 4 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.115, allocations: 6.688 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.115, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/1.115, allocations: 23.98 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.115, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/1.115, allocations: 11.94 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/1.115, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.6511 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 () * 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 0.0001073/1.115, allocations: 108.7 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/1.115, allocations: 11.94 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/1.116, allocations: 4.625 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/1.116, allocations: 4 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/1.116, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/1.116, allocations: 3.984 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/1.116, allocations: 339.3 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.116, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/1.116, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.116, allocations: 3.984 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/1.116, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.116, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.116, allocations: 8 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/1.117, allocations: 193.2 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/1.117, allocations: 84.95 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/1.117, allocations: 3.984 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/1.117, allocations: 4.875 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/1.117, allocations: 11.61 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/1.117, allocations: 4 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.029e-05/1.117, allocations: 99.38 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.117, allocations: 3.938 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005107/1.118, allocations: 51.5 kB / 1.025 GB, free: 13.98 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: 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.0005323/1.118, allocations: 162.2 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002631/1.118, allocations: 58.3 kB / 1.025 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.118, allocations: 3.938 kB / 1.025 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/1.119, allocations: 23.12 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/1.119, allocations: 3.438 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/1.119, allocations: 95.09 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/1.12, allocations: 0.6923 MB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.293e-05/1.12, allocations: 16.38 kB / 1.026 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/1.12, allocations: 11.44 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.12, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.006134/1.126, allocations: 1.491 MB / 1.028 GB, free: 11.43 MB / 0.6511 GB