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.339/2.339, allocations: 252.6 MB / 265.2 MB, free: 5.711 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.001432/0.001431, allocations: 177.2 kB / 324.5 MB, free: 14.4 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.028/2.028, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.0011/0.001099, allocations: 93.94 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.331e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2061, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8883/1.094, allocations: 133.7 MB / 1.025 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.095, allocations: 78.45 kB / 1.026 GB, free: 0.7031 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.01513/1.11, allocations: 3.173 MB / 1.029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/1.11, allocations: 0 / 1.029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.11, allocations: 0 / 1.029 GB, free: 13.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008275/1.111, allocations: 460.5 kB / 1.029 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.111, allocations: 8.031 kB / 1.029 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/1.111, allocations: 11.89 kB / 1.029 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/1.111, allocations: 171 kB / 1.029 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/1.111, allocations: 3 kB / 1.029 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/1.111, allocations: 4 kB / 1.029 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/1.111, allocations: 74.53 kB / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.111, allocations: 0 / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/1.111, allocations: 0 / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.111, allocations: 0 / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/1.112, allocations: 38.55 kB / 1.029 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008448/1.112, allocations: 332.7 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/1.113, allocations: 56.03 kB / 1.03 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/1.113, allocations: 35.17 kB / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/1.113, allocations: 0 / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/1.113, allocations: 93.2 kB / 1.03 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.264e-06/1.113, allocations: 4 kB / 1.03 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003696/1.113, allocations: 115.3 kB / 1.03 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/1.114, allocations: 51.5 kB / 1.03 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/1.114, allocations: 124.1 kB / 1.03 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/1.114, allocations: 29.2 kB / 1.03 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/1.114, allocations: 95.61 kB / 1.03 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/1.114, allocations: 23.3 kB / 1.03 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/1.114, allocations: 0 / 1.03 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.114, allocations: 318.5 kB / 1.031 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/1.114, allocations: 27.06 kB / 1.031 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/1.114, allocations: 63.64 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/1.114, allocations: 34.22 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.114, allocations: 4 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002959/1.115, allocations: 120.6 kB / 1.031 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.115, allocations: 4 kB / 1.031 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/1.115, allocations: 0 / 1.031 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.115, allocations: 4 kB / 1.031 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/1.115, allocations: 15.98 kB / 1.031 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.115, allocations: 7.891 kB / 1.031 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/1.115, allocations: 23.48 kB / 1.031 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/1.115, allocations: 4 kB / 1.031 GB, free: 11.61 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.0001029/1.115, allocations: 111.4 kB / 1.031 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/1.115, allocations: 7.906 kB / 1.031 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/1.116, allocations: 144.6 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.116, allocations: 0 / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.116, allocations: 3.984 kB / 1.031 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.116, allocations: 7.953 kB / 1.031 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007742/1.117, allocations: 409.5 kB / 1.032 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.117, allocations: 0 / 1.032 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/1.117, allocations: 19.98 kB / 1.032 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.117, allocations: 0 / 1.032 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/1.117, allocations: 3.953 kB / 1.032 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.117, allocations: 0 / 1.032 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.117, allocations: 4 kB / 1.032 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/1.117, allocations: 217.8 kB / 1.032 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/1.117, allocations: 81.02 kB / 1.032 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/1.117, allocations: 15.67 kB / 1.032 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/1.118, allocations: 11.95 kB / 1.032 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/1.118, allocations: 15.91 kB / 1.032 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/1.118, allocations: 11.88 kB / 1.032 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001114/1.118, allocations: 93.22 kB / 1.032 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.118, allocations: 0 / 1.032 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007433/1.119, allocations: 55.86 kB / 1.032 GB, free: 10.43 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.0006012/1.119, allocations: 167 kB / 1.032 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003436/1.12, allocations: 81.17 kB / 1.032 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.12, allocations: 0 / 1.032 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/1.12, allocations: 42.89 kB / 1.032 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/1.12, allocations: 16.14 kB / 1.032 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/1.121, allocations: 129.9 kB / 1.032 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/1.121, allocations: 0.6968 MB / 1.033 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001051/1.121, allocations: 12.42 kB / 1.033 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/1.121, allocations: 11.44 kB / 1.033 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of SimCode: time 1.503e-06/1.121, allocations: 0 / 1.033 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of Templates: time 0.008805/1.13, allocations: 1.818 MB / 1.035 GB, free: 7.488 MB / 0.6511 GB