Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.351/2.351, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.002147/0.002147, allocations: 184 kB / 325.6 MB, free: 2.809 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.407/2.407, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001135/0.001135, allocations: 100 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004603, allocations: 16.34 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.4347, allocations: 133.7 MB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.4351, allocations: 83.94 kB / 1.03 GB, free: 11.45 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.01507/0.4502, allocations: 3.163 MB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4502, allocations: 0 / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.4503, allocations: 0 / 1.033 GB, free: 8.277 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000906/0.4512, allocations: 482.3 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4512, allocations: 8.031 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.4513, allocations: 11.86 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4515, allocations: 178.9 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.4516, allocations: 29.7 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.4516, allocations: 8 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.4519, allocations: 81.64 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.452, allocations: 0 / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.452, allocations: 3.938 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.452, allocations: 0 / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.4523, allocations: 59.89 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008114/0.4532, allocations: 336.7 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.4535, allocations: 70.55 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.4536, allocations: 4 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.4539, allocations: 103.3 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.454, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0007962/0.4548, allocations: 177.4 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.4548, allocations: 59.39 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.455, allocations: 114.8 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.455, allocations: 33.7 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.4551, allocations: 96.27 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.4552, allocations: 23.89 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.4552, allocations: 0 / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4553, allocations: 326.8 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4555, allocations: 31.98 kB / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.4557, allocations: 70.44 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.456, allocations: 45.75 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.456, allocations: 4 kB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005308/0.4565, allocations: 141.5 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4566, allocations: 8 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4566, allocations: 0 / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4566, allocations: 4 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.4568, allocations: 23.94 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.4569, allocations: 7.938 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.4571, allocations: 15.98 kB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.4571, allocations: 4 kB / 1.035 GB, free: 5.512 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,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.0001731/0.4573, allocations: 129.8 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4573, allocations: 7.906 kB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.4574, allocations: 8.719 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4574, allocations: 4 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4574, allocations: 3.953 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4574, allocations: 0 / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.4585, allocations: 434.7 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.4585, allocations: 0 / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.4586, allocations: 15.92 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-06/0.4586, allocations: 0 / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.4587, allocations: 7.953 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.4587, allocations: 0 / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4587, allocations: 4 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.4593, allocations: 231.3 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.4593, allocations: 84.95 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.4594, allocations: 8 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.4596, allocations: 19.94 kB / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.4597, allocations: 7.984 kB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.4597, allocations: 7.984 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.374e-05/0.4598, allocations: 101.9 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4598, allocations: 0 / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004786/0.4603, allocations: 51.91 kB / 1.036 GB, free: 4.309 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 (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.0005077/0.4608, allocations: 165.2 kB / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005141/0.4614, allocations: 99.8 kB / 1.036 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4614, allocations: 0 / 1.036 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.4616, allocations: 56.16 kB / 1.036 GB, free: 4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.462, allocations: 15.92 kB / 1.037 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/0.4627, allocations: 239 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.4631, allocations: 0.6965 MB / 1.037 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.4632, allocations: 8.656 kB / 1.037 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.4632, allocations: 23.44 kB / 1.037 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of SimCode: time 1.423e-06/0.4633, allocations: 0 / 1.037 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of Templates: time 0.006953/0.4702, allocations: 1.795 MB / 1.039 GB, free: 1.188 MB / 0.6823 GB