Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.623/1.623, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001044/0.001044, allocations: 180.3 kB / 361.4 MB, free: 6.84 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.484/1.484, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007953/0.0007953, allocations: 82.81 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.957e-05, allocations: 0 / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7161, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/0.931, allocations: 139.6 MB / 1.101 GB, free: 176 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004382/0.9316, allocations: 80.64 kB / 1.101 GB, free: 96 kB / 0.698 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.0114/0.943, allocations: 3.223 MB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.012e-06/0.943, allocations: 0.5312 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.943, allocations: 0 / 1.104 GB, free: 12.94 MB / 0.7136 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.0006463/0.9437, allocations: 489.6 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.9438, allocations: 8.719 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.9438, allocations: 12.94 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.944, allocations: 191.4 kB / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.944, allocations: 4.562 kB / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.9441, allocations: 0 / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001284/0.9442, allocations: 43.48 kB / 1.105 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.9444, allocations: 71.12 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9444, allocations: 0 / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.9444, allocations: 4 kB / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.9444, allocations: 0 / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.9451, allocations: 305.7 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.9452, allocations: 66.69 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.9453, allocations: 36.89 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.9454, allocations: 4 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.9455, allocations: 93.55 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.375e-06/0.9456, allocations: 1.688 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003521/0.9459, allocations: 124.3 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.946, allocations: 63.41 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.9461, allocations: 115 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.9461, allocations: 25.7 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.9462, allocations: 92.14 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.9462, allocations: 31.78 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.9462, allocations: 0 / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.9464, allocations: 326.8 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.9464, allocations: 23.94 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-05/0.9465, allocations: 65.7 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.9466, allocations: 27.98 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9466, allocations: 3.938 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001892/0.9468, allocations: 117.3 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.9468, allocations: 8.719 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.9468, allocations: 4 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.9469, allocations: 0 / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.947, allocations: 15.98 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.947, allocations: 5.594 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.9472, allocations: 11.98 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.9472, allocations: 4 kB / 1.106 GB, free: 10.37 MB / 0.7136 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 () * 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.0001089/0.9473, allocations: 129.2 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002225/0.9475, allocations: 121.6 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.9475, allocations: 8.047 kB / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.9479, allocations: 143.7 kB / 1.107 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.9479, allocations: 4 kB / 1.107 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.9479, allocations: 0 / 1.107 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.9479, allocations: 7.938 kB / 1.107 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.9484, allocations: 414.8 kB / 1.107 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9485, allocations: 4 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.662e-05/0.9485, allocations: 13.48 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9486, allocations: 0 / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.9486, allocations: 4 kB / 1.107 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9486, allocations: 0 / 1.107 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9486, allocations: 3.953 kB / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.9489, allocations: 227.8 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.9489, allocations: 81.02 kB / 1.107 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.949, allocations: 7.984 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.9491, allocations: 8 kB / 1.107 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.9492, allocations: 15.92 kB / 1.107 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.9492, allocations: 7.938 kB / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.194e-05/0.9492, allocations: 101.4 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9492, allocations: 4 kB / 1.108 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003272/0.9496, allocations: 55.88 kB / 1.108 GB, free: 8.949 MB / 0.7136 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.000877/0.9505, allocations: 0.8254 MB / 1.108 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.9507, allocations: 76.06 kB / 1.108 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9507, allocations: 0 / 1.108 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.9508, allocations: 43.98 kB / 1.108 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.951, allocations: 8.078 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.9516, allocations: 203.5 kB / 1.109 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.9519, allocations: 0.7041 MB / 1.109 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.296e-05/0.952, allocations: 9.219 kB / 1.109 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.952, allocations: 31.42 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.952, allocations: 0 / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.974, allocations: 2.79 MB / 1.112 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.9743, allocations: 189.8 kB / 1.112 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.643, allocations: 2.5 kB / 1.112 GB, free: 4.074 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)