Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.191/5.191, allocations: 0.5623 GB / 0.5776 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00255/0.00255, allocations: 350.7 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.397/4.397, allocations: 410.7 MB / 1.113 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001853/0.001853, allocations: 180 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.0005292, allocations: 16 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7433, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/0.9622, allocations: 140.1 MB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.9626, allocations: 91.88 kB / 1.598 GB, free: 144 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01389/0.9765, allocations: 3.176 MB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9766, allocations: 0.625 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.9766, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 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.0007585/0.9773, allocations: 473.5 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.9774, allocations: 11.62 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.9775, allocations: 8.984 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.9776, allocations: 182.9 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.9776, allocations: 8.5 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.9776, allocations: 4.594 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.9779, allocations: 74.58 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9779, allocations: 0.5625 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.978, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.978, allocations: 4.75 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.9782, allocations: 45.73 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.9789, allocations: 332 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.9791, allocations: 64.08 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.9793, allocations: 42.5 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.9793, allocations: 0 / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.9796, allocations: 92.64 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.9796, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0005495/0.9801, allocations: 163.7 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.9802, allocations: 64.34 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.9803, allocations: 128.7 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.9803, allocations: 34.14 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.9804, allocations: 92.94 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.9804, allocations: 19.8 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.9805, allocations: 6.188 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.9805, allocations: 318.8 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.9807, allocations: 31.97 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.9808, allocations: 71.64 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.9809, allocations: 35.5 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.981, allocations: 0 / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003418/0.9813, allocations: 134.3 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.9813, allocations: 12.66 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.9814, allocations: 0 / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.9814, allocations: 5.062 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.9816, allocations: 11.98 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.9816, allocations: 12.86 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.9818, allocations: 22.05 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.9818, allocations: 8 kB / 1.604 GB, free: 138.2 MB / 0.8542 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 () * Number of clocked 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 9.551e-05/0.9819, allocations: 118.8 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.982, allocations: 10.12 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.9824, allocations: 151.6 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.9824, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9825, allocations: 0.9688 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9825, allocations: 3.953 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.9832, allocations: 436.7 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9832, allocations: 0.9375 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.9833, allocations: 8 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.9834, allocations: 5 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.9834, allocations: 13.67 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.9834, allocations: 3.953 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.9834, allocations: 0.5938 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.9838, allocations: 228.5 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.9838, allocations: 89 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.9839, allocations: 4 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.9841, allocations: 12.55 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.9842, allocations: 15.88 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.9842, allocations: 4.562 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.425e-05/0.9843, allocations: 99.83 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9843, allocations: 0.9688 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004474/0.9847, allocations: 59.86 kB / 1.605 GB, free: 136.9 MB / 0.8542 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) * Number of clocked states: 0 () * 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.0004358/0.9852, allocations: 169 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.9855, allocations: 93.42 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9856, allocations: 0 / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.9857, allocations: 49.08 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.9862, allocations: 15.98 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.9867, allocations: 226.7 kB / 1.605 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.9869, allocations: 0.6978 MB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.653e-05/0.987, allocations: 13.86 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.9871, allocations: 11.44 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.893e-06/0.9871, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005902/0.993, allocations: 1.806 MB / 1.608 GB, free: 133.9 MB / 0.8542 GB