Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.262/2.262, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 179 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.383/2.383, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001177/0.001177, allocations: 104.5 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004829, allocations: 12.22 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2751, allocations: 106.2 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2587/0.5338, allocations: 133.9 MB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.5342, allocations: 83.94 kB / 1.03 GB, free: 11.34 MB / 0.6823 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.01608/0.5503, allocations: 3.343 MB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5503, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.5503, allocations: 4 kB / 1.033 GB, free: 7.984 MB / 0.6823 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.001004/0.5514, allocations: 0.5041 MB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5514, allocations: 8.031 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.5515, allocations: 19.8 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.5517, allocations: 184.3 kB / 1.034 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.5517, allocations: 4 kB / 1.034 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.5518, allocations: 8 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.552, allocations: 73.64 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5521, allocations: 7.938 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.5521, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5521, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.5524, allocations: 59.91 kB / 1.034 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.5532, allocations: 328.7 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.5535, allocations: 90.69 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.5536, allocations: 0 / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.5539, allocations: 99.3 kB / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.195e-06/0.5539, allocations: 4 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.000685/0.5546, allocations: 185.4 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.5547, allocations: 63.53 kB / 1.035 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.5548, allocations: 127.4 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.5549, allocations: 33.69 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.555, allocations: 96.05 kB / 1.035 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.555, allocations: 23.7 kB / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.5551, allocations: 0 / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5552, allocations: 326.8 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.5554, allocations: 31.98 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.5555, allocations: 75.45 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.5557, allocations: 45.7 kB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5557, allocations: 0 / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004227/0.5562, allocations: 137.4 kB / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.5562, allocations: 11.95 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5562, allocations: 3.984 kB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.5563, allocations: 7.938 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.5564, allocations: 20.08 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.5565, allocations: 0 / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.5567, allocations: 19.89 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.5567, allocations: 8 kB / 1.035 GB, free: 5.176 MB / 0.6823 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.0001436/0.5568, allocations: 122.6 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.5569, allocations: 7.906 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.5575, allocations: 182.3 kB / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5575, allocations: 4 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5575, allocations: 0 / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5575, allocations: 0 / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.5585, allocations: 477.1 kB / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.5586, allocations: 3.953 kB / 1.036 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.5587, allocations: 19.92 kB / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5588, allocations: 0 / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.5588, allocations: 7.984 kB / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5588, allocations: 0 / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5588, allocations: 0 / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.5594, allocations: 251.4 kB / 1.036 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.5595, allocations: 92.81 kB / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.5595, allocations: 4 kB / 1.037 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.5597, allocations: 15.98 kB / 1.037 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.5598, allocations: 7.984 kB / 1.037 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.5598, allocations: 7.984 kB / 1.037 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001061/0.56, allocations: 110 kB / 1.037 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.56, allocations: 0 / 1.037 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004773/0.5605, allocations: 59.92 kB / 1.037 GB, free: 3.727 MB / 0.6823 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 (14): * Single equations (assignments): 11 * 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.0004905/0.561, allocations: 171.6 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.5614, allocations: 99.89 kB / 1.037 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5614, allocations: 0 / 1.037 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.5616, allocations: 67.91 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.562, allocations: 8 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.5627, allocations: 276.7 kB / 1.037 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.5631, allocations: 0.712 MB / 1.038 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.763e-05/0.5632, allocations: 8.562 kB / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.5632, allocations: 15.42 kB / 1.038 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/0.5632, allocations: 0 / 1.038 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of Templates: time 0.007329/0.5706, allocations: 1.987 MB / 1.04 GB, free: 364 kB / 0.6823 GB