Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.256/2.256, allocations: 253.2 MB / 260.6 MB, free: 7.492 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.002064/0.002064, allocations: 173.9 kB / 319.9 MB, free: 3.031 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.242/2.242, allocations: 205.5 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.001052/0.001052, allocations: 100.7 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.71e-05, allocations: 7.984 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2074, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9648/1.172, allocations: 134.1 MB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.173, allocations: 81.44 kB / 1.02 GB, free: 3.223 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.01535/1.188, allocations: 3.305 MB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/1.188, allocations: 4 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.188, allocations: 0.9375 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008164/1.189, allocations: 498 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.189, allocations: 8.031 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/1.189, allocations: 11.86 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/1.189, allocations: 174.9 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/1.189, allocations: 4 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/1.189, allocations: 7.984 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001557/1.189, allocations: 37.05 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/1.19, allocations: 75.28 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.19, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/1.19, allocations: 3.984 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.19, allocations: 3.953 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/1.19, allocations: 309.5 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/1.191, allocations: 72.33 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.206e-05/1.191, allocations: 32.98 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/1.191, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/1.191, allocations: 98.02 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.315e-06/1.191, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0004034/1.191, allocations: 129 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.191, allocations: 51.41 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.192, allocations: 126.5 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/1.192, allocations: 32.83 kB / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/1.192, allocations: 98.25 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/1.192, allocations: 29.38 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/1.192, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.192, allocations: 322.1 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/1.192, allocations: 24.42 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/1.192, allocations: 57.59 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.031e-05/1.192, allocations: 29.36 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.192, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002848/1.193, allocations: 115.9 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.193, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.193, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/1.193, allocations: 6.766 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/1.193, allocations: 15.98 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.193, allocations: 7.938 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/1.193, allocations: 20.02 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/1.193, allocations: 8.312 kB / 1.025 GB, free: 14.02 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: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001018/1.193, allocations: 105 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/1.193, allocations: 15.81 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/1.194, allocations: 155.4 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.194, allocations: 3.953 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.194, allocations: 4 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.194, allocations: 4.141 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007895/1.195, allocations: 410.2 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.195, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/1.195, allocations: 19.92 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/1.195, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/1.195, allocations: 11.88 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.195, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.195, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/1.195, allocations: 228.4 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/1.195, allocations: 88.83 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/1.195, allocations: 0 / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/1.196, allocations: 15.94 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/1.196, allocations: 7.984 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/1.196, allocations: 12.86 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.814e-05/1.196, allocations: 102 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.196, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004926/1.196, allocations: 51.92 kB / 1.026 GB, free: 12.83 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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0004809/1.197, allocations: 179.4 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002502/1.197, allocations: 73.73 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.197, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/1.197, allocations: 49.36 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/1.197, allocations: 20.23 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/1.198, allocations: 138 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.198, allocations: 0.7081 MB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.194e-05/1.198, allocations: 8.844 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/1.199, allocations: 15.42 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/1.199, allocations: 0 / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of Templates: time 0.006991/1.206, allocations: 1.956 MB / 1.029 GB, free: 9.711 MB / 0.6511 GB