Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001178/0.001178, allocations: 187.5 kB / 371.8 MB, free: 10.28 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.834/1.834, 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.0008665/0.0008664, allocations: 98.8 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004685, allocations: 15.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2294, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7604/0.9899, allocations: 140.3 MB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.9901, allocations: 81.05 kB / 1.117 GB, free: 16.43 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.009467/0.9996, allocations: 3.175 MB / 1.12 GB, free: 31.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.027e-06/0.9996, allocations: 3.094 kB / 1.12 GB, free: 31.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.9997, allocations: 7.938 kB / 1.12 GB, free: 31.96 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.0006542/1, allocations: 470.8 kB / 1.12 GB, free: 31.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1, allocations: 11.83 kB / 1.12 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/1, allocations: 33.89 kB / 1.12 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/1, allocations: 7.781 kB / 1.12 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/1.001, allocations: 178.5 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/1.001, allocations: 10.81 kB / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/1.001, allocations: 7.75 kB / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/1.001, allocations: 78.08 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.001, allocations: 0 / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/1.001, allocations: 3.5 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/1.001, allocations: 0 / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/1.001, allocations: 43.16 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/1.002, allocations: 336.1 kB / 1.121 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/1.002, allocations: 68.5 kB / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/1.002, allocations: 0 / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/1.002, allocations: 98.94 kB / 1.121 GB, free: 30.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/1.002, allocations: 0 / 1.121 GB, free: 30.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000384/1.002, allocations: 167.8 kB / 1.121 GB, free: 30.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/1.002, allocations: 58.78 kB / 1.121 GB, free: 30.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/1.003, allocations: 117.4 kB / 1.121 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/1.003, allocations: 28.95 kB / 1.121 GB, free: 30.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/1.003, allocations: 97.83 kB / 1.121 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/1.003, allocations: 15.41 kB / 1.121 GB, free: 30.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/1.003, allocations: 0 / 1.121 GB, free: 30.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.003, allocations: 320.3 kB / 1.122 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.281e-05/1.003, allocations: 35.34 kB / 1.122 GB, free: 30.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/1.003, allocations: 67.73 kB / 1.122 GB, free: 30.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.648e-05/1.003, allocations: 41.34 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.003, allocations: 0 / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002113/1.003, allocations: 133.9 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.003, allocations: 3.875 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/1.003, allocations: 3.844 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/1.003, allocations: 0 / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/1.003, allocations: 21.7 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.003, allocations: 3.875 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.861e-05/1.004, allocations: 17.81 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/1.004, allocations: 7.766 kB / 1.122 GB, free: 30.1 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.559e-05/1.004, allocations: 125.4 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/1.004, allocations: 7.781 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/1.004, allocations: 146 kB / 1.122 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.004, allocations: 3.875 kB / 1.122 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.004, allocations: 0 / 1.122 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.004, allocations: 0 / 1.122 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/1.005, allocations: 451.1 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.005, allocations: 0 / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/1.005, allocations: 11.62 kB / 1.123 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.005, allocations: 3.188 kB / 1.123 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/1.005, allocations: 7.656 kB / 1.123 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.005, allocations: 0 / 1.123 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.005, allocations: 7.938 kB / 1.123 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/1.005, allocations: 229.5 kB / 1.123 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/1.005, allocations: 84.92 kB / 1.123 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/1.005, allocations: 0 / 1.123 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/1.005, allocations: 14.12 kB / 1.123 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/1.005, allocations: 17.91 kB / 1.123 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/1.005, allocations: 7.797 kB / 1.123 GB, free: 29.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.511e-05/1.005, allocations: 102.6 kB / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.005, allocations: 3.844 kB / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003012/1.006, allocations: 52.73 kB / 1.123 GB, free: 29.28 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.0007404/1.006, allocations: 0.8283 MB / 1.124 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002208/1.006, allocations: 86.17 kB / 1.124 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.007, allocations: 0 / 1.124 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/1.007, allocations: 58.72 kB / 1.124 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/1.007, allocations: 9.891 kB / 1.124 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009332/1.008, allocations: 1.238 MB / 1.125 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/1.008, allocations: 0.6954 MB / 1.126 GB, free: 26.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.958e-05/1.008, allocations: 10.75 kB / 1.126 GB, free: 26.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/1.008, allocations: 24.39 kB / 1.126 GB, free: 26.71 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/1.008, allocations: 4 kB / 1.126 GB, free: 26.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/1.021, allocations: 2.902 MB / 1.129 GB, free: 26.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.021, allocations: 249.4 kB / 1.129 GB, free: 26.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.78, allocations: 4 kB / 1.129 GB, free: 26.19 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)