Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.329/2.329, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001369/0.001369, allocations: 183.4 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.427/2.427, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.001032/0.001032, allocations: 99.89 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.00067, allocations: 12.34 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2152, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.4442, allocations: 133.5 MB / 1.03 GB, free: 11.91 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.4446, allocations: 83.83 kB / 1.03 GB, free: 11.82 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54:32:writable] Warning: timDif 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.0175/0.4621, allocations: 3.415 MB / 1.033 GB, free: 8.406 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4622, allocations: 0 / 1.033 GB, free: 8.406 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.4622, allocations: 0 / 1.033 GB, free: 8.406 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009113/0.4631, allocations: 423.4 kB / 1.034 GB, free: 7.941 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4632, allocations: 12.03 kB / 1.034 GB, free: 7.93 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.479e-05/0.4633, allocations: 12.83 kB / 1.034 GB, free: 7.918 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.4634, allocations: 176.2 kB / 1.034 GB, free: 7.707 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.4636, allocations: 34.27 kB / 1.034 GB, free: 7.668 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.4636, allocations: 4.375 kB / 1.034 GB, free: 7.664 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.4639, allocations: 103 kB / 1.034 GB, free: 7.551 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4639, allocations: 11.92 kB / 1.034 GB, free: 7.539 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.464, allocations: 4 kB / 1.034 GB, free: 7.535 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.464, allocations: 0 / 1.034 GB, free: 7.535 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.4642, allocations: 51.91 kB / 1.034 GB, free: 7.484 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.4651, allocations: 0.5126 MB / 1.035 GB, free: 6.914 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.4659, allocations: 131.8 kB / 1.035 GB, free: 6.758 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.466, allocations: 42.66 kB / 1.035 GB, free: 6.707 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.466, allocations: 8.062 kB / 1.035 GB, free: 6.699 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.4663, allocations: 121.7 kB / 1.035 GB, free: 6.559 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=11): time 3.226e-06/0.4663, allocations: 0 / 1.035 GB, free: 6.559 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.0004835/0.4668, allocations: 141.5 kB / 1.035 GB, free: 6.414 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.4669, allocations: 106.8 kB / 1.035 GB, free: 6.285 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.4671, allocations: 129.8 kB / 1.035 GB, free: 6.148 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.4671, allocations: 33.7 kB / 1.035 GB, free: 6.109 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.4672, allocations: 88.33 kB / 1.035 GB, free: 6.016 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.4673, allocations: 35.55 kB / 1.035 GB, free: 5.98 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.4673, allocations: 0 / 1.035 GB, free: 5.98 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4675, allocations: 334.8 kB / 1.036 GB, free: 5.645 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.4676, allocations: 31.98 kB / 1.036 GB, free: 5.613 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.4678, allocations: 49.7 kB / 1.036 GB, free: 5.559 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.468, allocations: 35.98 kB / 1.036 GB, free: 5.523 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.468, allocations: 0 / 1.036 GB, free: 5.523 MB / 0.6824 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004221/0.4684, allocations: 129.4 kB / 1.036 GB, free: 5.391 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4685, allocations: 8 kB / 1.036 GB, free: 5.383 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4685, allocations: 0 / 1.036 GB, free: 5.383 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4685, allocations: 4 kB / 1.036 GB, free: 5.379 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.4687, allocations: 19.98 kB / 1.036 GB, free: 5.359 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4688, allocations: 0 / 1.036 GB, free: 5.359 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.4689, allocations: 15.94 kB / 1.036 GB, free: 5.344 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.469, allocations: 11.97 kB / 1.036 GB, free: 5.332 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 () * 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.0001541/0.4692, allocations: 125.7 kB / 1.036 GB, free: 5.199 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.4692, allocations: 7.906 kB / 1.036 GB, free: 5.191 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.4696, allocations: 122.1 kB / 1.036 GB, free: 5.062 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.4696, allocations: 4 kB / 1.036 GB, free: 5.059 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4696, allocations: 0 / 1.036 GB, free: 5.059 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4696, allocations: 0 / 1.036 GB, free: 5.059 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.4699, allocations: 221.5 kB / 1.036 GB, free: 4.793 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.47, allocations: 4 kB / 1.036 GB, free: 4.789 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.4702, allocations: 15.98 kB / 1.036 GB, free: 4.773 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.4702, allocations: 4 kB / 1.036 GB, free: 4.77 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4702, allocations: 8 kB / 1.036 GB, free: 4.762 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.4702, allocations: 4 kB / 1.036 GB, free: 4.758 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4702, allocations: 0 / 1.036 GB, free: 4.758 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.4706, allocations: 171.6 kB / 1.037 GB, free: 4.566 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.4708, allocations: 100.8 kB / 1.037 GB, free: 4.449 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.4708, allocations: 11.98 kB / 1.037 GB, free: 4.438 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.471, allocations: 12.31 kB / 1.037 GB, free: 4.426 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.4711, allocations: 11.98 kB / 1.037 GB, free: 4.414 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.4711, allocations: 11.94 kB / 1.037 GB, free: 4.402 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001007/0.4712, allocations: 99.27 kB / 1.037 GB, free: 4.305 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4712, allocations: 3.938 kB / 1.037 GB, free: 4.301 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004336/0.4717, allocations: 63.92 kB / 1.037 GB, free: 4.238 MB / 0.6824 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) * Number of clocked states: 0 () * 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.0003676/0.4721, allocations: 159 kB / 1.037 GB, free: 4.074 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.4725, allocations: 101.2 kB / 1.037 GB, free: 3.977 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.4725, allocations: 0 / 1.037 GB, free: 3.977 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4726, allocations: 51.92 kB / 1.037 GB, free: 3.926 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.4729, allocations: 12 kB / 1.037 GB, free: 3.914 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.4737, allocations: 267.2 kB / 1.037 GB, free: 3.617 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.474, allocations: 0.7003 MB / 1.038 GB, free: 2.891 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.4742, allocations: 21.09 kB / 1.038 GB, free: 2.871 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.4742, allocations: 19.42 kB / 1.038 GB, free: 2.852 MB / 0.6824 GB Notification: Performance of SimCode: time 1.102e-06/0.4743, allocations: 0 / 1.038 GB, free: 2.852 MB / 0.6824 GB Notification: Performance of Templates: time 0.006295/0.4806, allocations: 1.474 MB / 1.04 GB, free: 1.387 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)