Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.296/2.296, allocations: 253.2 MB / 260.6 MB, free: 7.445 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.001476/0.001476, allocations: 180.5 kB / 319.9 MB, free: 3.035 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.249/2.249, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001112/0.001112, allocations: 88.89 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.49e-05/2.503e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2055, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9078/1.113, allocations: 133.9 MB / 1.019 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004359/1.114, allocations: 79.89 kB / 1.02 GB, free: 3.293 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.02212/1.136, allocations: 3.153 MB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.863e-06/1.136, allocations: 0 / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.422e-05/1.136, allocations: 7.938 kB / 1.023 GB, free: 0.6133 MB / 0.6355 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.001049/1.137, allocations: 460.2 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/1.137, allocations: 8.031 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/1.137, allocations: 7.953 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/1.138, allocations: 170.9 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/1.138, allocations: 4 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/1.138, allocations: 4 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000207/1.138, allocations: 32.11 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/1.138, allocations: 60.97 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.138, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/1.138, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.138, allocations: 4 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/1.139, allocations: 312.5 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/1.14, allocations: 54.27 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/1.14, allocations: 32.09 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/1.14, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/1.14, allocations: 89.94 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/1.14, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004834/1.14, allocations: 105.7 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/1.141, allocations: 59.36 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/1.141, allocations: 119.9 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/1.141, allocations: 25.7 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/1.141, allocations: 86.62 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/1.141, allocations: 22.52 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/1.141, allocations: 3.938 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.141, allocations: 321.7 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/1.141, allocations: 25.55 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/1.141, allocations: 58.41 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/1.142, allocations: 26.31 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.142, allocations: 3.938 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004078/1.142, allocations: 106.4 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/1.142, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/1.142, allocations: 8.125 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.142, allocations: 0 / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/1.142, allocations: 18.42 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/1.142, allocations: 4 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/1.143, allocations: 15.94 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/1.143, allocations: 9.625 kB / 1.025 GB, free: 14.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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete 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.0001374/1.143, allocations: 113.2 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/1.143, allocations: 11.89 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005249/1.144, allocations: 129.9 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.144, allocations: 3.938 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.144, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-06/1.144, allocations: 7.938 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000972/1.145, allocations: 381.9 kB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.145, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/1.145, allocations: 15.92 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.145, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/1.145, allocations: 4 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.145, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.145, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/1.145, allocations: 210.7 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/1.145, allocations: 89.7 kB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/1.146, allocations: 3.812 kB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/1.146, allocations: 11.98 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/1.146, allocations: 7.984 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/1.146, allocations: 7.984 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001012/1.146, allocations: 96.42 kB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.21e-07/1.146, allocations: 0 / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007309/1.147, allocations: 55.67 kB / 1.026 GB, free: 13.21 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0006155/1.147, allocations: 178.7 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003072/1.148, allocations: 73.55 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.148, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/1.148, allocations: 34.81 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/1.148, allocations: 15.92 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/1.149, allocations: 122.8 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/1.149, allocations: 0.6963 MB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001096/1.15, allocations: 12.44 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/1.15, allocations: 15.42 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.15, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of Templates: time 0.008886/1.159, allocations: 1.778 MB / 1.029 GB, free: 10.3 MB / 0.6511 GB