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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.751/1.751, allocations: 288.2 MB / 303.2 MB, free: 8.258 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.001139/0.001139, allocations: 184.2 kB / 371.8 MB, free: 10.27 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.704/1.704, allocations: 205.4 MB / 0.6305 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.0009521/0.0009521, allocations: 93.14 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.000425, allocations: 9.531 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2471, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7941/1.041, allocations: 140.4 MB / 1.117 GB, free: 16.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.042, allocations: 81.25 kB / 1.117 GB, free: 16.6 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.009984/1.052, allocations: 3.338 MB / 1.12 GB, free: 32.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/1.052, allocations: 3.938 kB / 1.12 GB, free: 32.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.052, allocations: 0 / 1.12 GB, free: 32.12 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.0007686/1.052, allocations: 0.5181 MB / 1.12 GB, free: 31.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.052, allocations: 11.67 kB / 1.12 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/1.053, allocations: 34.38 kB / 1.12 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/1.053, allocations: 14.41 kB / 1.12 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/1.053, allocations: 183.4 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/1.053, allocations: 7.047 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/1.053, allocations: 3.875 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/1.053, allocations: 82.78 kB / 1.121 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.053, allocations: 0 / 1.121 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/1.053, allocations: 0 / 1.121 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.053, allocations: 0 / 1.121 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/1.053, allocations: 59.86 kB / 1.121 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/1.054, allocations: 327.1 kB / 1.121 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/1.054, allocations: 85.28 kB / 1.121 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/1.054, allocations: 7.562 kB / 1.121 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/1.054, allocations: 99.22 kB / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 3.426e-06/1.054, allocations: 0 / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004487/1.055, allocations: 192 kB / 1.121 GB, free: 30.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/1.055, allocations: 55.25 kB / 1.121 GB, free: 30.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/1.055, allocations: 123.8 kB / 1.122 GB, free: 30.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/1.055, allocations: 35.19 kB / 1.122 GB, free: 30.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/1.055, allocations: 93.17 kB / 1.122 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/1.055, allocations: 20.97 kB / 1.122 GB, free: 30.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-06/1.055, allocations: 3.062 kB / 1.122 GB, free: 30.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.055, allocations: 327.3 kB / 1.122 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/1.055, allocations: 32.2 kB / 1.122 GB, free: 30.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/1.056, allocations: 75.67 kB / 1.122 GB, free: 30.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/1.056, allocations: 41.08 kB / 1.122 GB, free: 30.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.056, allocations: 0 / 1.122 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002964/1.056, allocations: 147.6 kB / 1.122 GB, free: 30.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/1.056, allocations: 11.72 kB / 1.122 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.056, allocations: 0 / 1.122 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/1.056, allocations: 7.828 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/1.056, allocations: 24.91 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/1.056, allocations: 0.5469 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/1.056, allocations: 18.17 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/1.056, allocations: 3.844 kB / 1.122 GB, free: 30.21 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.0001629/1.057, allocations: 130.7 kB / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/1.057, allocations: 7.75 kB / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/1.057, allocations: 177.1 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.057, allocations: 3.969 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.057, allocations: 3.953 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/1.057, allocations: 0 / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/1.058, allocations: 465.3 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.058, allocations: 0 / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.668e-05/1.058, allocations: 22.25 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/1.058, allocations: 7.828 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/1.058, allocations: 0 / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.058, allocations: 0 / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.058, allocations: 3.609 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/1.058, allocations: 256.4 kB / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/1.058, allocations: 84.86 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/1.058, allocations: 7.797 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.059, allocations: 14.91 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/1.059, allocations: 7.344 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/1.059, allocations: 7.391 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.899e-05/1.059, allocations: 110.8 kB / 1.124 GB, free: 29.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.042e-06/1.059, allocations: 0 / 1.124 GB, free: 29.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003919/1.059, allocations: 58.03 kB / 1.124 GB, free: 29.39 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.0009904/1.06, allocations: 0.8627 MB / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002607/1.06, allocations: 97.77 kB / 1.125 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.06, allocations: 0 / 1.125 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/1.061, allocations: 63.27 kB / 1.125 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/1.061, allocations: 16.59 kB / 1.125 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/1.062, allocations: 1.27 MB / 1.126 GB, free: 27.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/1.062, allocations: 0.7063 MB / 1.127 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.298e-05/1.063, allocations: 11.62 kB / 1.127 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/1.063, allocations: 33.3 kB / 1.127 GB, free: 26.79 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/1.063, allocations: 0 / 1.127 GB, free: 26.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/1.079, allocations: 3.237 MB / 1.13 GB, free: 26.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/1.079, allocations: 240.9 kB / 1.13 GB, free: 26.26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.75, allocations: 3.812 kB / 1.13 GB, free: 26.26 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)