Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 251.9 MB / 266.9 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 175.1 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 0.5775 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.0011, allocations: 82.38 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 11.66 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2641, allocations: 106.3 MB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.4476, allocations: 134 MB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.4479, allocations: 83.94 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.009739/0.4577, allocations: 3.175 MB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.4577, allocations: 0 / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4577, allocations: 4 kB / 1.034 GB, free: 6.805 MB / 0.6823 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.0007013/0.4585, allocations: 478.3 kB / 1.035 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4585, allocations: 8.031 kB / 1.035 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.4586, allocations: 34.56 kB / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.4586, allocations: 11.89 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.4588, allocations: 175 kB / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4588, allocations: 8 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.4588, allocations: 4 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.459, allocations: 77.58 kB / 1.035 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4591, allocations: 3.984 kB / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4591, allocations: 0 / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4591, allocations: 4 kB / 1.035 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.4592, allocations: 43.97 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.4599, allocations: 328.7 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.4601, allocations: 70.55 kB / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.4601, allocations: 160 / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.4603, allocations: 103.3 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.4603, allocations: 3.938 kB / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004038/0.4608, allocations: 165.5 kB / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.4608, allocations: 59.36 kB / 1.036 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/0.4609, allocations: 115.9 kB / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.4609, allocations: 25.7 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.461, allocations: 96.36 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.4611, allocations: 23.66 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.4611, allocations: 0 / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4612, allocations: 318.8 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.4613, allocations: 37.86 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.807e-05/0.4614, allocations: 69.12 kB / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.36e-05/0.4615, allocations: 35.92 kB / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4615, allocations: 4 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002434/0.4617, allocations: 125.4 kB / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4618, allocations: 4 kB / 1.036 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4618, allocations: 4 kB / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4618, allocations: 0 / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4619, allocations: 24.11 kB / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4619, allocations: 4 kB / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.4621, allocations: 19.88 kB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.4621, allocations: 4 kB / 1.037 GB, free: 4.113 MB / 0.6823 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.0001064/0.4622, allocations: 131 kB / 1.037 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.4622, allocations: 7.906 kB / 1.037 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.4625, allocations: 145.9 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4626, allocations: 4 kB / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4626, allocations: 0 / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.4626, allocations: 0 / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.4632, allocations: 438.3 kB / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4632, allocations: 0 / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.4632, allocations: 15.92 kB / 1.037 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4633, allocations: 0 / 1.037 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.4633, allocations: 8 kB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4633, allocations: 3.953 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4633, allocations: 4.359 kB / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.4636, allocations: 235.4 kB / 1.037 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.4637, allocations: 88.95 kB / 1.038 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.4637, allocations: 3.984 kB / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.4638, allocations: 15.94 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.4639, allocations: 11.94 kB / 1.038 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.4639, allocations: 7.984 kB / 1.038 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.236e-05/0.464, allocations: 103.3 kB / 1.038 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.464, allocations: 0 / 1.038 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003213/0.4643, allocations: 48 kB / 1.038 GB, free: 2.758 MB / 0.6823 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.0008791/0.4652, allocations: 0.8341 MB / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.4654, allocations: 83.89 kB / 1.039 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4654, allocations: 0 / 1.039 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.4656, allocations: 60.16 kB / 1.039 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.4658, allocations: 15.14 kB / 1.039 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4669, allocations: 1.242 MB / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.4672, allocations: 0.6965 MB / 1.041 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.964e-05/0.4673, allocations: 12.42 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.4673, allocations: 31.42 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.4673, allocations: 0 / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.4825, allocations: 2.886 MB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.4828, allocations: 239.7 kB / 1.044 GB, free: 12.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.3, allocations: 4 kB / 1.044 GB, free: 12.71 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)