Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.509/2.509, allocations: 287.5 MB / 303.2 MB, free: 8.32 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.00135/0.00135, allocations: 178.1 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.6305 GB, free: 10.5 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.0009124/0.0009124, allocations: 86.3 kB / 0.7438 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004542, allocations: 18 kB / 0.8667 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2115, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8915/1.103, allocations: 140.2 MB / 1.116 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.103, allocations: 87.16 kB / 1.116 GB, free: 15.96 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01444/1.118, allocations: 3.345 MB / 1.12 GB, free: 31.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/1.118, allocations: 0 / 1.12 GB, free: 31.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.118, allocations: 2.812 kB / 1.12 GB, free: 31.5 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.0008283/1.119, allocations: 0.5146 MB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.119, allocations: 7.812 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/1.119, allocations: 8.688 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/1.119, allocations: 185 kB / 1.12 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/1.119, allocations: 5.406 kB / 1.12 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/1.119, allocations: 4.188 kB / 1.12 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/1.119, allocations: 84.88 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.119, allocations: 192 / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/1.119, allocations: 7.875 kB / 1.12 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.119, allocations: 3.844 kB / 1.12 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/1.12, allocations: 56.05 kB / 1.12 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/1.12, allocations: 335.1 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/1.121, allocations: 86.55 kB / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/1.121, allocations: 44.33 kB / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/1.121, allocations: 4 kB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/1.121, allocations: 99.55 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/1.121, allocations: 0 / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.00058/1.122, allocations: 180.8 kB / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/1.122, allocations: 62.09 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/1.122, allocations: 139.2 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/1.122, allocations: 32.67 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/1.122, allocations: 93.45 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/1.122, allocations: 25.52 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/1.122, allocations: 3.188 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.122, allocations: 316.8 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/1.122, allocations: 40.42 kB / 1.122 GB, free: 29.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/1.123, allocations: 74.16 kB / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/1.123, allocations: 107.9 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.123, allocations: 3.906 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003615/1.123, allocations: 142 kB / 1.122 GB, free: 29.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.123, allocations: 7.688 kB / 1.122 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.123, allocations: 3.938 kB / 1.122 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.123, allocations: 7.938 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/1.123, allocations: 21.08 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/1.123, allocations: 7.781 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/1.124, allocations: 10.36 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/1.124, allocations: 6.969 kB / 1.122 GB, free: 29.55 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.0001208/1.124, allocations: 130.6 kB / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/1.124, allocations: 15.08 kB / 1.122 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/1.124, allocations: 174 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.124, allocations: 0 / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.124, allocations: 0 / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.124, allocations: 0 / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/1.125, allocations: 474.7 kB / 1.123 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.125, allocations: 0 / 1.123 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/1.125, allocations: 17.61 kB / 1.123 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.125, allocations: 0 / 1.123 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/1.125, allocations: 10.42 kB / 1.123 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.125, allocations: 3.875 kB / 1.123 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.125, allocations: 3.938 kB / 1.123 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/1.126, allocations: 257.5 kB / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/1.126, allocations: 88.8 kB / 1.123 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/1.126, allocations: 0 / 1.123 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/1.126, allocations: 14.28 kB / 1.123 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/1.126, allocations: 17.45 kB / 1.123 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/1.126, allocations: 7.875 kB / 1.123 GB, free: 28.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.826e-05/1.126, allocations: 112 kB / 1.123 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.126, allocations: 0 / 1.123 GB, free: 28.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004651/1.127, allocations: 56.7 kB / 1.124 GB, free: 28.71 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.0004222/1.127, allocations: 177.8 kB / 1.124 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000348/1.128, allocations: 96.56 kB / 1.124 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.128, allocations: 0 / 1.124 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/1.128, allocations: 58.84 kB / 1.124 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/1.128, allocations: 20.11 kB / 1.124 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/1.129, allocations: 259.1 kB / 1.124 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/1.129, allocations: 0.7047 MB / 1.125 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.952e-05/1.129, allocations: 8.219 kB / 1.125 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/1.129, allocations: 22.2 kB / 1.125 GB, free: 27.72 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/1.129, allocations: 0 / 1.125 GB, free: 27.72 MB / 0.698 GB Notification: Performance of Templates: time 0.006255/1.136, allocations: 1.998 MB / 1.127 GB, free: 27.54 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)