Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.918/2.918, allocations: 287.3 MB / 302.3 MB, free: 8.25 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.001534/0.001534, allocations: 175.6 kB / 370.8 MB, free: 10.85 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.36/2.36, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001154/0.001153, allocations: 78.98 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005496/0.0005497, allocations: 20.34 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2543, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9747/1.229, allocations: 140.1 MB / 1.115 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/1.229, allocations: 83.47 kB / 1.115 GB, free: 15.38 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.01466/1.244, allocations: 3.174 MB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/1.244, allocations: 0 / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.038e-05/1.244, allocations: 0 / 1.118 GB, free: 30.92 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.0009659/1.245, allocations: 475.5 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.245, allocations: 15.64 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/1.245, allocations: 30.56 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/1.245, allocations: 11.81 kB / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/1.246, allocations: 189.5 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/1.246, allocations: 0 / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/1.246, allocations: 3.844 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/1.246, allocations: 78.19 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.246, allocations: 0 / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/1.246, allocations: 3.984 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.246, allocations: 0 / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/1.246, allocations: 54.78 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/1.247, allocations: 330.8 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/1.247, allocations: 67.81 kB / 1.119 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/1.247, allocations: 0 / 1.119 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/1.247, allocations: 95.02 kB / 1.12 GB, free: 29.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/1.247, allocations: 0 / 1.12 GB, free: 29.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005785/1.248, allocations: 165.5 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/1.248, allocations: 55.36 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/1.248, allocations: 118.7 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/1.248, allocations: 32.58 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/1.248, allocations: 93.78 kB / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/1.248, allocations: 17.36 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/1.249, allocations: 7.656 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.249, allocations: 320.9 kB / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/1.249, allocations: 24.86 kB / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/1.249, allocations: 71.66 kB / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/1.249, allocations: 44.3 kB / 1.12 GB, free: 29.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.249, allocations: 0 / 1.12 GB, free: 29.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003644/1.249, allocations: 131.7 kB / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.25, allocations: 7.812 kB / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/1.25, allocations: 6.891 kB / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.25, allocations: 4 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/1.25, allocations: 14.42 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/1.25, allocations: 7.812 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/1.25, allocations: 21.11 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/1.25, allocations: 7.016 kB / 1.121 GB, free: 29.04 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 0.0001475/1.25, allocations: 121.7 kB / 1.121 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/1.25, allocations: 11.78 kB / 1.121 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/1.251, allocations: 146 kB / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.251, allocations: 3.875 kB / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.251, allocations: 0 / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.251, allocations: 2.438 kB / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/1.252, allocations: 438.7 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.252, allocations: 0 / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/1.252, allocations: 12.95 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.252, allocations: 1.641 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.252, allocations: 0 / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.252, allocations: 7.797 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.252, allocations: 1.734 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/1.252, allocations: 232.4 kB / 1.122 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/1.252, allocations: 81.11 kB / 1.122 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/1.252, allocations: 9.109 kB / 1.122 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/1.253, allocations: 15.05 kB / 1.122 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/1.253, allocations: 15.88 kB / 1.122 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/1.253, allocations: 9.297 kB / 1.122 GB, free: 28.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.482e-05/1.253, allocations: 106.7 kB / 1.122 GB, free: 28.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.253, allocations: 0 / 1.122 GB, free: 28.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004845/1.253, allocations: 50.86 kB / 1.122 GB, free: 28.22 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 (12): * Single equations (assignments): 9 * 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.001224/1.255, allocations: 0.8312 MB / 1.123 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003771/1.255, allocations: 91.56 kB / 1.123 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.255, allocations: 4.062 kB / 1.123 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/1.255, allocations: 50.44 kB / 1.123 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/1.256, allocations: 19 kB / 1.123 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/1.257, allocations: 1.231 MB / 1.124 GB, free: 26.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/1.257, allocations: 0.6928 MB / 1.125 GB, free: 25.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001008/1.257, allocations: 14.75 kB / 1.125 GB, free: 25.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/1.258, allocations: 24.53 kB / 1.125 GB, free: 25.64 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.258, allocations: 0 / 1.125 GB, free: 25.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/1.284, allocations: 2.889 MB / 1.128 GB, free: 25.37 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/1.284, allocations: 239.9 kB / 1.128 GB, free: 25.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.799, allocations: 1.875 kB / 1.128 GB, free: 25.12 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)