Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.519/1.519, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001263/0.001263, allocations: 185 kB / 326.5 MB, free: 2.242 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.903/1.903, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008965/0.0008963, allocations: 87.73 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 8.312 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1987, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.3849, allocations: 134 MB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/0.3853, allocations: 91.92 kB / 1.031 GB, free: 9.578 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.0149/0.4003, allocations: 3.26 MB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.136e-06/0.4003, allocations: 0 / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.4003, allocations: 4 kB / 1.034 GB, free: 6.305 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001086/0.4014, allocations: 0.5 MB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.4015, allocations: 12.03 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.876e-05/0.4016, allocations: 34.56 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.4017, allocations: 11.89 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.4019, allocations: 178.9 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.4019, allocations: 0 / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.4019, allocations: 8 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.4022, allocations: 85.58 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.4023, allocations: 0 / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4023, allocations: 0 / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4023, allocations: 4 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.4026, allocations: 55.95 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008105/0.4034, allocations: 332.7 kB / 1.035 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.4037, allocations: 86.66 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4038, allocations: 0 / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003102/0.4041, allocations: 109.3 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.495e-06/0.4041, allocations: 0 / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0006998/0.4048, allocations: 181.5 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.4049, allocations: 59.36 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.4051, allocations: 119.1 kB / 1.036 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.4051, allocations: 29.7 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.4052, allocations: 96.12 kB / 1.036 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.4053, allocations: 23.72 kB / 1.036 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.4053, allocations: 0 / 1.036 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4055, allocations: 322.8 kB / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.4056, allocations: 35.92 kB / 1.036 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.4058, allocations: 78.61 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.4059, allocations: 39.97 kB / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4059, allocations: 0 / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003899/0.4063, allocations: 149.4 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.4064, allocations: 4 kB / 1.037 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4064, allocations: 0 / 1.037 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.4064, allocations: 4 kB / 1.037 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.4066, allocations: 19.92 kB / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.4066, allocations: 7.953 kB / 1.037 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.4068, allocations: 19.89 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.4068, allocations: 4 kB / 1.037 GB, free: 3.477 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0001717/0.407, allocations: 122.7 kB / 1.037 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.4071, allocations: 11.91 kB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005533/0.4076, allocations: 166.2 kB / 1.037 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4077, allocations: 0 / 1.037 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.4077, allocations: 7.984 kB / 1.037 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.4077, allocations: 3.953 kB / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.4087, allocations: 462.4 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4088, allocations: 0 / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.4089, allocations: 11.98 kB / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4089, allocations: 0 / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.4089, allocations: 12 kB / 1.038 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.4089, allocations: 3.953 kB / 1.038 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4089, allocations: 0 / 1.038 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.4095, allocations: 242.7 kB / 1.038 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.4096, allocations: 85 kB / 1.038 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.4096, allocations: 11.94 kB / 1.038 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.4098, allocations: 15.98 kB / 1.038 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.4099, allocations: 11.94 kB / 1.038 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.41, allocations: 8 kB / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001123/0.4101, allocations: 95.27 kB / 1.038 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4101, allocations: 0 / 1.038 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006545/0.4108, allocations: 63.92 kB / 1.038 GB, free: 2.066 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * 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.00144/0.4122, allocations: 0.8492 MB / 1.039 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.4126, allocations: 99.89 kB / 1.039 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4126, allocations: 0 / 1.039 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.4129, allocations: 57.72 kB / 1.039 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.4133, allocations: 23.88 kB / 1.039 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.415, allocations: 1.233 MB / 1.04 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.4154, allocations: 0.7043 MB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.577e-05/0.4155, allocations: 8.422 kB / 1.041 GB, free: 14.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.4156, allocations: 35.42 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of SimCode: time 4.1e-07/0.4156, allocations: 0 / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.4348, allocations: 3.107 MB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003515/0.4352, allocations: 238 kB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.103, allocations: 0 / 1.044 GB, free: 11.77 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)