Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.899/4.899, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 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.002583/0.002582, allocations: 361.9 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.652/4.652, allocations: 410.7 MB / 1.113 GB, free: 5.961 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.001816/0.001815, allocations: 183.5 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005184, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7677/0.7682, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.9682, allocations: 140.1 MB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.9686, allocations: 92.52 kB / 1.598 GB, free: 144.1 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.9823, allocations: 3.149 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9824, allocations: 0 / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.9824, allocations: 0 / 1.601 GB, free: 141 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.0008033/0.9832, allocations: 488.9 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.9833, allocations: 12.22 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.9833, allocations: 11.91 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.9835, allocations: 179.8 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.176e-05/0.9836, allocations: 41.62 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.9836, allocations: 5.781 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.9839, allocations: 77.64 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.9839, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.984, allocations: 1.562 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.984, allocations: 4 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.9843, allocations: 60.58 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.985, allocations: 332.2 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.9854, allocations: 72.3 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.9856, allocations: 45.77 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.9856, allocations: 9.547 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.9859, allocations: 99.72 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 3.086e-06/0.986, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0007182/0.9867, allocations: 169.4 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.9867, allocations: 59.41 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.9869, allocations: 135.3 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.9869, allocations: 25.7 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.987, allocations: 96.31 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.987, allocations: 24.67 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-06/0.987, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.207e-05/0.9871, allocations: 321.2 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.9873, allocations: 31.97 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.9875, allocations: 79.69 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.9877, allocations: 35.77 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9877, allocations: 0 / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004543/0.9882, allocations: 138.6 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.9882, allocations: 8.562 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9882, allocations: 3.984 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.9882, allocations: 6.625 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.9884, allocations: 27.88 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.9885, allocations: 7.938 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.9886, allocations: 14.11 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.9887, allocations: 4 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 0.0001052/0.9888, allocations: 123 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.9888, allocations: 7.906 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.9889, allocations: 13.23 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9889, allocations: 4.5 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9889, allocations: 3.953 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9889, allocations: 0.5 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.9898, allocations: 437.6 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9898, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.9899, allocations: 13.05 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.99, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.99, allocations: 17.34 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.99, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.99, allocations: 1.5 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.9905, allocations: 225.8 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.9906, allocations: 89 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.9906, allocations: 4.812 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.9908, allocations: 18.62 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.9909, allocations: 11.98 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.9909, allocations: 4 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.876e-05/0.991, allocations: 103 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/0.991, allocations: 0 / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004565/0.9915, allocations: 52.12 kB / 1.605 GB, free: 137 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 (10): * Single equations (assignments): 7 * 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.0004376/0.992, allocations: 180.5 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004622/0.9924, allocations: 93.5 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9924, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.9927, allocations: 58.19 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.9931, allocations: 11.98 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.9938, allocations: 225.3 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.994, allocations: 0.7024 MB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.832e-05/0.9941, allocations: 10.64 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.9941, allocations: 15.42 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of SimCode: time 8.71e-07/0.9941, allocations: 0 / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.006008/1, allocations: 1.795 MB / 1.608 GB, free: 134 MB / 0.8542 GB