Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.691/1.691, allocations: 297.8 MB / 313.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009638/0.0009639, allocations: 183.7 kB / 384.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 0.6626 GB, free: 4.199 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008001/0.0008, allocations: 96.92 kB / 0.7808 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004208, allocations: 12 kB / 0.9088 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7651/0.7656, allocations: 120.3 MB / 1.026 GB, free: 55.75 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.9591, allocations: 143.5 MB / 1.166 GB, free: 488 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.9594, allocations: 83.2 kB / 1.167 GB, free: 420 kB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01129/0.9707, allocations: 3.403 MB / 1.17 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9708, allocations: 0 / 1.17 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.9708, allocations: 0 / 1.17 GB, free: 14.02 MB / 0.7448 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.0008592/0.9716, allocations: 0.5103 MB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9717, allocations: 8.031 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.9718, allocations: 9.547 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.972, allocations: 184.5 kB / 1.171 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.972, allocations: 384 / 1.171 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.972, allocations: 13.95 kB / 1.171 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.9723, allocations: 81.28 kB / 1.171 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9723, allocations: 1.891 kB / 1.171 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.9723, allocations: 8.469 kB / 1.171 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.9723, allocations: 0 / 1.171 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.9725, allocations: 51.73 kB / 1.171 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/0.9732, allocations: 337.4 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.9734, allocations: 85.89 kB / 1.171 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.9735, allocations: 43.86 kB / 1.171 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.9736, allocations: 3.938 kB / 1.171 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.9738, allocations: 104.4 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.9738, allocations: 0 / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0004684/0.9743, allocations: 177.3 kB / 1.171 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.9744, allocations: 56.09 kB / 1.171 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.9745, allocations: 154.5 kB / 1.172 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.9745, allocations: 28.2 kB / 1.172 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.9746, allocations: 94.06 kB / 1.172 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.9747, allocations: 30 kB / 1.172 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.9747, allocations: 0 / 1.172 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9748, allocations: 322.2 kB / 1.172 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.9749, allocations: 29.55 kB / 1.172 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.975, allocations: 80.5 kB / 1.172 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.9753, allocations: 110.1 kB / 1.172 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9753, allocations: 0 / 1.172 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003164/0.9756, allocations: 144 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.9756, allocations: 9.438 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.9756, allocations: 0.875 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.9757, allocations: 4 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.9758, allocations: 22.03 kB / 1.172 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.9758, allocations: 0.6094 kB / 1.172 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.9759, allocations: 23.98 kB / 1.172 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.9759, allocations: 5.406 kB / 1.172 GB, free: 11.31 MB / 0.7448 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.0001216/0.9761, allocations: 129.4 kB / 1.173 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.9761, allocations: 8.516 kB / 1.173 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.9765, allocations: 174 kB / 1.173 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.9765, allocations: 4 kB / 1.173 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.9765, allocations: 0.9375 kB / 1.173 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9765, allocations: 1.406 kB / 1.173 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.9772, allocations: 475.8 kB / 1.173 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.9772, allocations: 0 / 1.173 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.9773, allocations: 15.33 kB / 1.173 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9773, allocations: 0 / 1.173 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.9773, allocations: 10.23 kB / 1.173 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.9773, allocations: 1.688 kB / 1.173 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9774, allocations: 0 / 1.173 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.9777, allocations: 261.8 kB / 1.174 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.9778, allocations: 85.67 kB / 1.174 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.9778, allocations: 4.656 kB / 1.174 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.9779, allocations: 18.8 kB / 1.174 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.978, allocations: 12.81 kB / 1.174 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.978, allocations: 10.39 kB / 1.174 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.887e-05/0.9781, allocations: 111.2 kB / 1.174 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.2e-07/0.9781, allocations: 0.8438 kB / 1.174 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004009/0.9785, allocations: 49.92 kB / 1.174 GB, free: 9.98 MB / 0.7448 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.0004178/0.979, allocations: 171.3 kB / 1.174 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.9793, allocations: 108.6 kB / 1.174 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9793, allocations: 0 / 1.174 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.9794, allocations: 50.52 kB / 1.174 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.9797, allocations: 17.95 kB / 1.174 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.9803, allocations: 266 kB / 1.174 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.9806, allocations: 0.7076 MB / 1.175 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.2e-05/0.9807, allocations: 15.22 kB / 1.175 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.9807, allocations: 13.36 kB / 1.175 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of SimCode: time 4e-07/0.9808, allocations: 0 / 1.175 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of Templates: time 0.005499/0.9863, allocations: 1.983 MB / 1.177 GB, free: 7.254 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)