Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.742/1.742, allocations: 288.2 MB / 303.2 MB, free: 8.07 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.00139/0.00139, allocations: 178.7 kB / 371.8 MB, free: 10.29 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.761/1.761, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009086/0.0009086, allocations: 82.67 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006078/0.0006079, allocations: 9.969 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2881, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7594/1.048, allocations: 140.2 MB / 1.116 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.048, allocations: 84.81 kB / 1.116 GB, free: 16.24 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.009442/1.057, allocations: 3.158 MB / 1.12 GB, free: 31.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.624e-06/1.057, allocations: 0 / 1.12 GB, free: 31.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.057, allocations: 0 / 1.12 GB, free: 31.78 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007078/1.058, allocations: 486.4 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.058, allocations: 11.48 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/1.058, allocations: 40.47 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/1.058, allocations: 11.72 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/1.058, allocations: 181.5 kB / 1.12 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/1.059, allocations: 36.36 kB / 1.12 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/1.059, allocations: 11.25 kB / 1.12 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/1.059, allocations: 76.45 kB / 1.12 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.059, allocations: 0 / 1.12 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/1.059, allocations: 3.438 kB / 1.12 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.059, allocations: 0 / 1.12 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/1.059, allocations: 53.81 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/1.06, allocations: 336.6 kB / 1.121 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/1.06, allocations: 71.16 kB / 1.121 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/1.06, allocations: 0 / 1.121 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/1.06, allocations: 103.3 kB / 1.121 GB, free: 30.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/1.06, allocations: 0 / 1.121 GB, free: 30.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004978/1.061, allocations: 181.4 kB / 1.121 GB, free: 30.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/1.061, allocations: 59.33 kB / 1.121 GB, free: 30.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/1.061, allocations: 116.5 kB / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/1.061, allocations: 29.58 kB / 1.121 GB, free: 30.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/1.061, allocations: 94.23 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/1.061, allocations: 22.5 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/1.061, allocations: 7.906 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.061, allocations: 317.4 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/1.061, allocations: 32.67 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/1.061, allocations: 81.75 kB / 1.122 GB, free: 29.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.845e-05/1.061, allocations: 36.61 kB / 1.122 GB, free: 29.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.061, allocations: 0 / 1.122 GB, free: 29.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002602/1.062, allocations: 145.5 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.062, allocations: 7.594 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.062, allocations: 2.719 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.062, allocations: 7.656 kB / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/1.062, allocations: 17.61 kB / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.062, allocations: 2.109 kB / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/1.062, allocations: 21.41 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/1.062, allocations: 7.875 kB / 1.122 GB, free: 29.86 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.751e-05/1.062, allocations: 123.7 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/1.062, allocations: 7.75 kB / 1.122 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/1.062, allocations: 7.781 kB / 1.122 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.062, allocations: 3.812 kB / 1.122 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.062, allocations: 0 / 1.122 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/1.062, allocations: 3.094 kB / 1.122 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/1.063, allocations: 443.4 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.063, allocations: 3.609 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/1.063, allocations: 10.55 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.063, allocations: 0 / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/1.063, allocations: 10.59 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.063, allocations: 3.953 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.063, allocations: 7.031 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/1.063, allocations: 224 kB / 1.123 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/1.063, allocations: 84.83 kB / 1.123 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/1.063, allocations: 7.438 kB / 1.123 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/1.063, allocations: 15.14 kB / 1.123 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/1.063, allocations: 17.53 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/1.063, allocations: 7.078 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.901e-05/1.064, allocations: 102.4 kB / 1.123 GB, free: 29.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.064, allocations: 0 / 1.123 GB, free: 29.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003315/1.064, allocations: 49.33 kB / 1.123 GB, free: 29.08 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0008687/1.065, allocations: 0.8343 MB / 1.124 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002668/1.065, allocations: 98.11 kB / 1.124 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/1.065, allocations: 0 / 1.124 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/1.065, allocations: 49.52 kB / 1.124 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/1.065, allocations: 18.03 kB / 1.124 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.066, allocations: 1.224 MB / 1.125 GB, free: 27.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/1.067, allocations: 0.7003 MB / 1.126 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.212e-05/1.067, allocations: 10.94 kB / 1.126 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/1.067, allocations: 30.39 kB / 1.126 GB, free: 26.51 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/1.067, allocations: 0 / 1.126 GB, free: 26.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/1.081, allocations: 2.895 MB / 1.129 GB, free: 26.25 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/1.081, allocations: 236.3 kB / 1.129 GB, free: 26.01 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.742, allocations: 0 / 1.129 GB, free: 26.01 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)