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.279/2.279, allocations: 252.6 MB / 265.2 MB, free: 5.754 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001431, allocations: 181.6 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.002663/0.002662, allocations: 93.95 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.691e-05, allocations: 0 / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1948, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8262/1.021, allocations: 133.8 MB / 1.026 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.021, allocations: 80.19 kB / 1.026 GB, free: 0.6641 MB / 0.6355 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.0157/1.037, allocations: 3.327 MB / 1.029 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.743e-06/1.037, allocations: 0 / 1.029 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.054e-05/1.037, allocations: 4 kB / 1.029 GB, free: 13.8 MB / 0.6511 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.0008519/1.038, allocations: 490.3 kB / 1.029 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.038, allocations: 8.031 kB / 1.029 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/1.038, allocations: 19.86 kB / 1.029 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/1.038, allocations: 174.4 kB / 1.03 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/1.038, allocations: 7.984 kB / 1.03 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/1.038, allocations: 7.5 kB / 1.03 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/1.039, allocations: 72.59 kB / 1.03 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/1.039, allocations: 0 / 1.03 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.039, allocations: 3.938 kB / 1.03 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.039, allocations: 4 kB / 1.03 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/1.039, allocations: 38.69 kB / 1.03 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/1.04, allocations: 340.2 kB / 1.03 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/1.04, allocations: 71.92 kB / 1.03 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/1.04, allocations: 39.09 kB / 1.03 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/1.04, allocations: 8 kB / 1.03 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/1.04, allocations: 100.9 kB / 1.03 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 4.408e-06/1.04, allocations: 0 / 1.03 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0003955/1.041, allocations: 132.3 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/1.041, allocations: 55.39 kB / 1.03 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/1.041, allocations: 127.3 kB / 1.03 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/1.041, allocations: 32.33 kB / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/1.041, allocations: 95.02 kB / 1.031 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/1.041, allocations: 35.38 kB / 1.031 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-06/1.041, allocations: 4 kB / 1.031 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.041, allocations: 322.1 kB / 1.031 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/1.041, allocations: 22.69 kB / 1.031 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/1.042, allocations: 68.14 kB / 1.031 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/1.042, allocations: 35.8 kB / 1.031 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.042, allocations: 0 / 1.031 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003089/1.042, allocations: 122.2 kB / 1.031 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.042, allocations: 13.36 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.042, allocations: 0 / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.042, allocations: 4 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/1.042, allocations: 28 kB / 1.031 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/1.042, allocations: 3.938 kB / 1.031 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/1.043, allocations: 12 kB / 1.031 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/1.043, allocations: 11.3 kB / 1.031 GB, free: 11.32 MB / 0.6511 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 () * 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.000105/1.043, allocations: 108 kB / 1.031 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/1.043, allocations: 11.81 kB / 1.031 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/1.043, allocations: 175.6 kB / 1.032 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.043, allocations: 0 / 1.032 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.043, allocations: 0 / 1.032 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.043, allocations: 0 / 1.032 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/1.045, allocations: 458 kB / 1.032 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.045, allocations: 0 / 1.032 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/1.045, allocations: 15.98 kB / 1.032 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.045, allocations: 7.984 kB / 1.032 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/1.045, allocations: 4 kB / 1.032 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.045, allocations: 0 / 1.032 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.045, allocations: 0 / 1.032 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/1.045, allocations: 240.4 kB / 1.032 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/1.046, allocations: 92.95 kB / 1.032 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/1.046, allocations: 0 / 1.032 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/1.046, allocations: 19.17 kB / 1.032 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/1.046, allocations: 7.984 kB / 1.032 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/1.046, allocations: 7.875 kB / 1.032 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001099/1.046, allocations: 108.1 kB / 1.032 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.046, allocations: 0 / 1.032 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004729/1.047, allocations: 54.38 kB / 1.033 GB, free: 10.08 MB / 0.6511 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) * 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.0005064/1.047, allocations: 182.3 kB / 1.033 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003825/1.047, allocations: 83.3 kB / 1.033 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.047, allocations: 0 / 1.033 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/1.048, allocations: 53.44 kB / 1.033 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/1.048, allocations: 19.56 kB / 1.033 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/1.049, allocations: 154.3 kB / 1.033 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/1.049, allocations: 0.7004 MB / 1.034 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.144e-05/1.049, allocations: 12.55 kB / 1.034 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/1.049, allocations: 18.25 kB / 1.034 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/1.049, allocations: 4 kB / 1.034 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of Templates: time 0.007513/1.057, allocations: 2.002 MB / 1.036 GB, free: 6.895 MB / 0.6511 GB