Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.889/4.889, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 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.003759/0.003759, allocations: 358.4 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.431/4.431, allocations: 410.7 MB / 1.113 GB, free: 5.938 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.001917/0.001917, allocations: 177.5 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005426/0.0005428, allocations: 16 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7662, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.9652, allocations: 140.1 MB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.9656, allocations: 88.47 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.01375/0.9793, allocations: 3.179 MB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.226e-06/0.9794, allocations: 4.672 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9794, 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.000745/0.9802, allocations: 473.4 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.9802, allocations: 11.62 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.9803, allocations: 7.906 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.9804, allocations: 179.9 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.9804, allocations: 4 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.9805, allocations: 12.86 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.9807, allocations: 71.78 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9807, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.9808, allocations: 8.938 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.9808, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.981, allocations: 44.66 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.9817, allocations: 339.6 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.9819, allocations: 55.22 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.9821, allocations: 41.72 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.9821, allocations: 1.891 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.9823, allocations: 106.5 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.9824, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0005518/0.9829, allocations: 155.4 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.983, allocations: 59.36 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.9831, allocations: 128.7 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.9832, allocations: 25.7 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.9833, allocations: 105.8 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.9833, allocations: 15.81 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.9833, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.9834, allocations: 323.9 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.9835, allocations: 32.95 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.9837, allocations: 71.09 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.9838, allocations: 34.34 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9839, allocations: 0 / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003456/0.9842, allocations: 132.4 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.9842, allocations: 8 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9843, allocations: 5.188 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9843, allocations: 4 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.9845, allocations: 20.86 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.9845, allocations: 7.891 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.9847, allocations: 21.27 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.9847, 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.774e-05/0.9848, allocations: 127.3 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.9848, allocations: 7.906 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.9853, allocations: 151.7 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.9853, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9853, allocations: 0.5312 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.9854, allocations: 3.953 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.9861, allocations: 437.7 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9861, allocations: 0 / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.9863, allocations: 12.55 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.9863, allocations: 5.125 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.9863, allocations: 0.5625 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.9863, allocations: 4.828 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9863, allocations: 0 / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.9867, allocations: 233.6 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.9868, allocations: 85.02 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.9868, allocations: 0.9375 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.987, allocations: 17.61 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.9871, allocations: 15.88 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.9871, allocations: 7.984 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.176e-05/0.9872, allocations: 100.3 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9872, allocations: 0 / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004411/0.9877, allocations: 55.88 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.0004344/0.9881, allocations: 162.7 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.9885, allocations: 89.92 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9885, allocations: 0 / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.9886, allocations: 53.25 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.0003841/0.989, allocations: 12.5 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.0005578/0.9896, allocations: 234.9 kB / 1.605 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.9898, allocations: 0.699 MB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.914e-05/0.9899, allocations: 12.42 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.99, allocations: 11.94 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.272e-06/0.99, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005927/0.9959, allocations: 1.803 MB / 1.608 GB, free: 133.9 MB / 0.8542 GB