Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.071/2.071, allocations: 288.3 MB / 303.2 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.001019, allocations: 181 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 0.6306 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009569/0.0009566, allocations: 107.6 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 14.59 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2468, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7615/1.008, allocations: 140.4 MB / 1.116 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.009, allocations: 87.58 kB / 1.117 GB, free: 16.48 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.009361/1.018, allocations: 3.336 MB / 1.12 GB, free: 32.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.384e-06/1.018, allocations: 0 / 1.12 GB, free: 32.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.049e-05/1.018, allocations: 0 / 1.12 GB, free: 32.01 MB / 0.698 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.0006844/1.019, allocations: 0.5128 MB / 1.12 GB, free: 31.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.019, allocations: 7.688 kB / 1.12 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/1.019, allocations: 11.62 kB / 1.12 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/1.019, allocations: 181.5 kB / 1.121 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/1.019, allocations: 3.969 kB / 1.121 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/1.019, allocations: 7.188 kB / 1.121 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/1.019, allocations: 81.73 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.019, allocations: 7.875 kB / 1.121 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/1.019, allocations: 2.297 kB / 1.121 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.019, allocations: 3.844 kB / 1.121 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/1.019, allocations: 49.69 kB / 1.121 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/1.02, allocations: 328.7 kB / 1.121 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/1.02, allocations: 94.2 kB / 1.121 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/1.02, allocations: 0 / 1.121 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/1.021, allocations: 101.6 kB / 1.121 GB, free: 30.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/1.021, allocations: 3.938 kB / 1.121 GB, free: 30.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003998/1.021, allocations: 183.7 kB / 1.121 GB, free: 30.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.021, allocations: 57.89 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/1.021, allocations: 127.7 kB / 1.122 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.021, allocations: 33.39 kB / 1.122 GB, free: 30.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/1.021, allocations: 93.91 kB / 1.122 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/1.021, allocations: 29.44 kB / 1.122 GB, free: 30.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/1.021, allocations: 0 / 1.122 GB, free: 30.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.021, allocations: 323.5 kB / 1.122 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/1.021, allocations: 25.91 kB / 1.122 GB, free: 30.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/1.022, allocations: 81.66 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.238e-05/1.022, allocations: 37.5 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.022, allocations: 3.812 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002271/1.022, allocations: 148 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.022, allocations: 10.62 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.022, allocations: 0 / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.022, allocations: 3.875 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/1.022, allocations: 18.12 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.022, allocations: 3.875 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/1.022, allocations: 13.92 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/1.022, allocations: 10.7 kB / 1.122 GB, free: 30.14 MB / 0.698 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.0001064/1.022, allocations: 125.4 kB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/1.022, allocations: 7.719 kB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/1.023, allocations: 175.5 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.023, allocations: 3.844 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.023, allocations: 7.953 kB / 1.123 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.023, allocations: 0 / 1.123 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/1.023, allocations: 461.6 kB / 1.123 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.023, allocations: 0 / 1.123 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/1.023, allocations: 22.27 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.023, allocations: 4 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/1.023, allocations: 7.703 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.023, allocations: 0 / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.023, allocations: 7.172 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/1.024, allocations: 247.7 kB / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/1.024, allocations: 88.33 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/1.024, allocations: 4 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/1.024, allocations: 18.72 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/1.024, allocations: 11.3 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.024, allocations: 7.266 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.37e-05/1.024, allocations: 103.9 kB / 1.124 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/1.024, allocations: 3.938 kB / 1.124 GB, free: 29.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003207/1.024, allocations: 61.42 kB / 1.124 GB, free: 29.32 MB / 0.698 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.0003971/1.025, allocations: 180.1 kB / 1.124 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002334/1.025, allocations: 92.77 kB / 1.124 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.025, allocations: 0 / 1.124 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/1.025, allocations: 64 kB / 1.124 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/1.025, allocations: 19.14 kB / 1.124 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/1.026, allocations: 260.5 kB / 1.124 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/1.026, allocations: 0.7078 MB / 1.125 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.691e-05/1.026, allocations: 4.438 kB / 1.125 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/1.026, allocations: 21.52 kB / 1.125 GB, free: 28.31 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/1.026, allocations: 0 / 1.125 GB, free: 28.31 MB / 0.698 GB Notification: Performance of Templates: time 0.004505/1.031, allocations: 1.987 MB / 1.127 GB, free: 28.15 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)