Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.281/2.281, 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.001447/0.001447, allocations: 190.9 kB / 319.9 MB, free: 3.059 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.009/2.009, allocations: 205.5 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.001144/0.001143, allocations: 97.02 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.952e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1959, allocations: 106.2 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8945/1.09, allocations: 134 MB / 1.019 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/1.091, allocations: 78.7 kB / 1.02 GB, free: 3.355 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.01494/1.106, allocations: 3.151 MB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/1.106, allocations: 0 / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.038e-05/1.106, allocations: 4 kB / 1.023 GB, free: 0.6836 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008289/1.107, allocations: 453.2 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.107, allocations: 8.031 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/1.107, allocations: 7.953 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/1.107, allocations: 178.9 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/1.107, allocations: 7.938 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/1.107, allocations: 4 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001382/1.107, allocations: 30.36 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/1.107, allocations: 59.17 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.107, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/1.107, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/1.108, allocations: 3.984 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/1.108, allocations: 310.7 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/1.108, allocations: 58 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/1.109, allocations: 26.36 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/1.109, allocations: 7.922 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/1.109, allocations: 90.19 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/1.109, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.00037/1.109, allocations: 105.7 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.109, allocations: 59.36 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/1.109, allocations: 113.9 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/1.109, allocations: 25.7 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/1.109, allocations: 95.92 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/1.11, allocations: 23.22 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-06/1.11, allocations: 4 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.11, allocations: 318.2 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/1.11, allocations: 23.62 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.854e-05/1.11, allocations: 60.7 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/1.11, allocations: 26.92 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.11, allocations: 0 / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002786/1.11, allocations: 104.7 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.11, allocations: 8.938 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.11, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.11, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/1.111, allocations: 19.73 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/1.111, allocations: 12.06 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/1.111, allocations: 15.94 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/1.111, allocations: 4.781 kB / 1.025 GB, free: 14.4 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * 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.000105/1.111, allocations: 106.4 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/1.111, allocations: 7.906 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/1.111, allocations: 135.5 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.111, allocations: 7.938 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.111, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.111, allocations: 11.92 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/1.112, allocations: 377.1 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.112, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/1.112, allocations: 14.88 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/1.112, allocations: 96 / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/1.112, allocations: 15.92 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/1.112, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.112, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/1.113, allocations: 215.7 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/1.113, allocations: 85.02 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/1.113, allocations: 0 / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/1.113, allocations: 16.48 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/1.113, allocations: 11.55 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/1.113, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.841e-05/1.113, allocations: 97.28 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/1.113, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004849/1.114, allocations: 43.94 kB / 1.026 GB, free: 13.27 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0004873/1.114, allocations: 180.7 kB / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002359/1.115, allocations: 70.8 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.115, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/1.115, allocations: 41.3 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/1.115, allocations: 6.875 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/1.115, allocations: 130.6 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/1.116, allocations: 0.6963 MB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.37e-05/1.116, allocations: 12.61 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/1.116, allocations: 11.44 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/1.116, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of Templates: time 0.006669/1.123, allocations: 1.781 MB / 1.029 GB, free: 10.37 MB / 0.6511 GB