Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.707/2.707, allocations: 287.5 MB / 302.4 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 177.2 kB / 371 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.4 MB / 0.6297 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 101.2 kB / 0.743 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006215/0.0006216, allocations: 11 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2478, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.273, allocations: 140.2 MB / 1.115 GB, free: 16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.274, allocations: 85.78 kB / 1.115 GB, free: 16 MB / 0.6823 GB [/var/lib/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.01463/1.288, allocations: 3.33 MB / 1.119 GB, free: 31.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/1.288, allocations: 0 / 1.119 GB, free: 31.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.618e-06/1.288, allocations: 0 / 1.119 GB, free: 31.54 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.000888/1.289, allocations: 0.5145 MB / 1.119 GB, free: 31.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/1.289, allocations: 7.688 kB / 1.119 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/1.289, allocations: 14.36 kB / 1.119 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/1.29, allocations: 174.7 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/1.29, allocations: 3.875 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/1.29, allocations: 8.797 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/1.29, allocations: 81.44 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.29, allocations: 0 / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/1.29, allocations: 6.656 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.29, allocations: 3.938 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/1.29, allocations: 52.89 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/1.291, allocations: 338.3 kB / 1.12 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/1.291, allocations: 86.91 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/1.291, allocations: 0 / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/1.292, allocations: 102.6 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/1.292, allocations: 0 / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.000618/1.292, allocations: 191.3 kB / 1.12 GB, free: 30.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/1.292, allocations: 55.06 kB / 1.12 GB, free: 30.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/1.292, allocations: 126.7 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/1.292, allocations: 32.27 kB / 1.12 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/1.293, allocations: 104.1 kB / 1.12 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/1.293, allocations: 22.73 kB / 1.12 GB, free: 30.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/1.293, allocations: 3.438 kB / 1.12 GB, free: 30.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.293, allocations: 323.3 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/1.293, allocations: 31.02 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/1.293, allocations: 73.77 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/1.293, allocations: 36.7 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.293, allocations: 3.938 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004012/1.294, allocations: 145.3 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.294, allocations: 3.875 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.294, allocations: 3.812 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.294, allocations: 3.953 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/1.294, allocations: 23.3 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.294, allocations: 3.938 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/1.294, allocations: 14.45 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/1.294, allocations: 6.844 kB / 1.121 GB, free: 29.67 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.0001319/1.294, allocations: 127.4 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/1.294, allocations: 10.5 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/1.295, allocations: 174.2 kB / 1.121 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.295, allocations: 3.953 kB / 1.121 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/1.295, allocations: 0 / 1.121 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.295, allocations: 7.781 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/1.296, allocations: 462.7 kB / 1.122 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.296, allocations: 0 / 1.122 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/1.296, allocations: 18.38 kB / 1.122 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/1.296, allocations: 3.953 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.296, allocations: 11.31 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.296, allocations: 3.047 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.296, allocations: 0 / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/1.296, allocations: 247.5 kB / 1.122 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/1.297, allocations: 87.95 kB / 1.122 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/1.297, allocations: 7.703 kB / 1.122 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/1.297, allocations: 18.78 kB / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/1.297, allocations: 16.34 kB / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.297, allocations: 3.875 kB / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.094e-05/1.297, allocations: 105 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.297, allocations: 0 / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004952/1.297, allocations: 59.75 kB / 1.122 GB, free: 28.84 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.0004422/1.298, allocations: 183.9 kB / 1.123 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003666/1.298, allocations: 91.38 kB / 1.123 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.298, allocations: 0 / 1.123 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/1.299, allocations: 62.92 kB / 1.123 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/1.299, allocations: 19.2 kB / 1.123 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/1.299, allocations: 260 kB / 1.123 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/1.3, allocations: 0.6998 MB / 1.124 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.628e-05/1.3, allocations: 11.17 kB / 1.124 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/1.3, allocations: 17.7 kB / 1.124 GB, free: 27.84 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/1.3, allocations: 4 kB / 1.124 GB, free: 27.84 MB / 0.698 GB Notification: Performance of Templates: time 0.006317/1.306, allocations: 1.99 MB / 1.126 GB, free: 27.68 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)