Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001212/0.001212, allocations: 176.8 kB / 366.7 MB, free: 1.668 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.824/1.824, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0009545/0.0009545, allocations: 93.19 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.8e-05, allocations: 0 / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.7378, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/0.9428, allocations: 139.2 MB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.9431, allocations: 70.59 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01016/0.9532, allocations: 3.379 MB / 1.113 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9533, allocations: 0 / 1.113 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.9533, allocations: 0 / 1.113 GB, free: 7.527 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000577/0.9539, allocations: 416.7 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.9539, allocations: 9.188 kB / 1.113 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.954, allocations: 11.66 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.9542, allocations: 182.9 kB / 1.113 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.9542, allocations: 5.234 kB / 1.113 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.9542, allocations: 4 kB / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001066/0.9543, allocations: 39.98 kB / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.9545, allocations: 94.73 kB / 1.113 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.9545, allocations: 0 / 1.113 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.9545, allocations: 0 / 1.113 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.9545, allocations: 4 kB / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.9551, allocations: 0.4984 MB / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.9555, allocations: 127.8 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.9556, allocations: 38.77 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.9556, allocations: 12.05 kB / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.9558, allocations: 112 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.9558, allocations: 0 / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007092/0.9565, allocations: 169.4 kB / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.9566, allocations: 106.8 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.9567, allocations: 116.9 kB / 1.115 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.9567, allocations: 25.7 kB / 1.115 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.9568, allocations: 88.42 kB / 1.115 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.9568, allocations: 39.58 kB / 1.115 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.9568, allocations: 0 / 1.115 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.957, allocations: 314.8 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.957, allocations: 39.98 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.417e-05/0.9571, allocations: 28 kB / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/0.9579, allocations: 141.2 kB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9579, allocations: 0 / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008907/0.9588, allocations: 227.4 kB / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.9588, allocations: 5.094 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9589, allocations: 0 / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.9589, allocations: 8 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.959, allocations: 15.98 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.959, allocations: 0 / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.9591, allocations: 15.84 kB / 1.115 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.9591, allocations: 4 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.662e-05/0.9592, allocations: 112.9 kB / 1.116 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005991/0.9598, allocations: 177.5 kB / 1.116 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.9598, allocations: 11.94 kB / 1.116 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.9601, allocations: 106.2 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9601, allocations: 4 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9601, allocations: 5.469 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.9601, allocations: 3.953 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.9603, allocations: 186 kB / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9603, allocations: 4 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/0.9604, allocations: 23.92 kB / 1.116 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.9604, allocations: 4 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.9604, allocations: 4 kB / 1.116 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.9604, allocations: 4 kB / 1.116 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.9604, allocations: 3.984 kB / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.9611, allocations: 251.2 kB / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.9612, allocations: 100.9 kB / 1.116 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.9612, allocations: 7.984 kB / 1.116 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.9613, allocations: 4 kB / 1.116 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.9614, allocations: 11.94 kB / 1.116 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.9614, allocations: 12 kB / 1.116 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.9615, allocations: 91.27 kB / 1.117 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9615, allocations: 4 kB / 1.117 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003037/0.9618, allocations: 51.94 kB / 1.117 GB, free: 3.16 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001093/0.9629, allocations: 0.9872 MB / 1.118 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.9634, allocations: 0.7532 MB / 1.118 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9634, allocations: 4 kB / 1.118 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.9635, allocations: 43.94 kB / 1.118 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.9637, allocations: 11.98 kB / 1.118 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.9642, allocations: 218.1 kB / 1.119 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.9645, allocations: 0.7041 MB / 1.119 GB, free: 316 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.471e-05/0.9645, allocations: 16.67 kB / 1.119 GB, free: 296 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.9646, allocations: 31.42 kB / 1.119 GB, free: 264 kB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.9646, allocations: 4 kB / 1.119 GB, free: 260 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.9885, allocations: 2.361 MB / 1.122 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.9888, allocations: 154.5 kB / 1.122 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.573, allocations: 8.031 kB / 1.122 GB, free: 13.76 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)