Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.826/4.826, allocations: 0.5623 GB / 0.5775 GB, free: 3.383 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.00258/0.00258, allocations: 356.6 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.772/4.772, allocations: 410.7 MB / 1.113 GB, free: 6.016 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.001819/0.001818, allocations: 187.9 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000659/0.0006593, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7341, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/0.9427, allocations: 140.1 MB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.943, allocations: 89.17 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.01378/0.9568, allocations: 3.252 MB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.335e-06/0.9568, allocations: 1.688 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.9568, allocations: 4 kB / 1.601 GB, free: 140.8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007097/0.9576, allocations: 0.4911 MB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.9576, allocations: 11.62 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.9577, allocations: 19.89 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.9578, allocations: 182.5 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.9579, allocations: 4 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.9579, allocations: 9.25 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.9581, allocations: 84.02 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.9582, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.9582, allocations: 1.156 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.9582, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.9584, allocations: 64.55 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.9591, allocations: 328.1 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.9594, allocations: 84.86 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.9595, allocations: 44.88 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.9596, allocations: 0 / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.9598, allocations: 104.4 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.9599, allocations: 1.062 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0005902/0.9605, allocations: 179.1 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.9605, allocations: 60.36 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.9606, allocations: 134 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.9607, allocations: 30.67 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.9607, allocations: 100.1 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.9608, allocations: 21.66 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.9608, allocations: 0 / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.9608, allocations: 322.8 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.961, allocations: 28.95 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.9611, allocations: 78.31 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.9613, allocations: 42.12 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9613, allocations: 0 / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003589/0.9617, allocations: 142.6 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9617, allocations: 4 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.9617, allocations: 4 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.9617, allocations: 3.625 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.9619, allocations: 19.92 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.962, allocations: 11.94 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.9622, allocations: 15.94 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.9623, allocations: 4 kB / 1.604 GB, free: 138 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.00017/0.9625, allocations: 133.6 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.9625, allocations: 7.906 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007628/0.9633, allocations: 156.3 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.9634, allocations: 4 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9634, allocations: 1.469 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.9634, allocations: 3.953 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.9647, allocations: 463.4 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.9647, allocations: 7.938 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.9649, allocations: 9.531 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.9649, allocations: 7.984 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.965, allocations: 7.953 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.965, allocations: 3.984 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.965, allocations: 1.156 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.9657, allocations: 249.3 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.9659, allocations: 88.95 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.966, allocations: 0.7188 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.9665, allocations: 16.81 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.9666, allocations: 11.98 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.9666, allocations: 9.359 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001251/0.9668, allocations: 102.9 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9668, allocations: 0 / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009346/0.9678, allocations: 57.31 kB / 1.605 GB, free: 136.6 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0006394/0.9684, allocations: 166.1 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006869/0.9691, allocations: 108.8 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9692, allocations: 0 / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.9695, allocations: 47.98 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008757/0.9704, allocations: 15.98 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000973/0.9714, allocations: 257.3 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.9716, allocations: 0.7018 MB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.9717, allocations: 11 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.9718, allocations: 15.42 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.183e-06/0.9719, allocations: 0 / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.007405/0.9793, allocations: 1.954 MB / 1.608 GB, free: 133.4 MB / 0.8542 GB