Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.464/2.464, allocations: 284.8 MB / 297.3 MB, free: 6.316 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 180.3 kB / 365.7 MB, free: 2.559 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.1 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 103.2 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.254e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.894, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2743/1.168, allocations: 138.7 MB / 1.105 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.169, allocations: 73.8 kB / 1.106 GB, free: 13.61 MB / 0.7136 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30: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.01682/1.186, allocations: 3.318 MB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/1.186, allocations: 0 / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.186, allocations: 0 / 1.109 GB, free: 10.35 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007947/1.186, allocations: 417.4 kB / 1.109 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.187, allocations: 8.031 kB / 1.109 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/1.187, allocations: 9.109 kB / 1.109 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/1.187, allocations: 171.9 kB / 1.109 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.373e-05/1.187, allocations: 36.05 kB / 1.109 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/1.187, allocations: 4 kB / 1.109 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/1.187, allocations: 104.2 kB / 1.109 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.187, allocations: 0 / 1.109 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/1.187, allocations: 11.84 kB / 1.109 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/1.187, allocations: 3.938 kB / 1.109 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/1.187, allocations: 39.98 kB / 1.11 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/1.188, allocations: 0.5188 MB / 1.11 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/1.189, allocations: 135.8 kB / 1.11 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.189, allocations: 48.11 kB / 1.11 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/1.189, allocations: 0 / 1.11 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/1.189, allocations: 117.9 kB / 1.11 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.494e-06/1.19, allocations: 0 / 1.11 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000411/1.19, allocations: 109.5 kB / 1.11 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/1.19, allocations: 106.8 kB / 1.111 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/1.19, allocations: 126.1 kB / 1.111 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/1.19, allocations: 33.55 kB / 1.111 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/1.19, allocations: 100.3 kB / 1.111 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/1.19, allocations: 27.72 kB / 1.111 GB, free: 8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/1.19, allocations: 0 / 1.111 GB, free: 8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.191, allocations: 322.8 kB / 1.111 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/1.191, allocations: 28 kB / 1.111 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/1.191, allocations: 47.39 kB / 1.111 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/1.191, allocations: 38.17 kB / 1.111 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/1.191, allocations: 0 / 1.111 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000346/1.191, allocations: 125.5 kB / 1.111 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.191, allocations: 8.922 kB / 1.111 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.191, allocations: 5.406 kB / 1.111 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.191, allocations: 0 / 1.111 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/1.192, allocations: 23.94 kB / 1.111 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.192, allocations: 0 / 1.111 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/1.192, allocations: 22.66 kB / 1.111 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/1.192, allocations: 7.984 kB / 1.111 GB, free: 7.371 MB / 0.7136 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 () * 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.0001182/1.192, allocations: 112.9 kB / 1.112 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/1.192, allocations: 7.906 kB / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/1.192, allocations: 122.2 kB / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.192, allocations: 0 / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.193, allocations: 7.953 kB / 1.112 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.193, allocations: 0 / 1.112 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/1.193, allocations: 213.6 kB / 1.112 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.193, allocations: 4 kB / 1.112 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/1.193, allocations: 19.98 kB / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/1.193, allocations: 0 / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/1.193, allocations: 11.94 kB / 1.112 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/1.193, allocations: 0 / 1.112 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.193, allocations: 4 kB / 1.112 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/1.194, allocations: 194 kB / 1.112 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.194, allocations: 100.9 kB / 1.112 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/1.194, allocations: 7.953 kB / 1.112 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/1.194, allocations: 13.61 kB / 1.112 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/1.194, allocations: 11.98 kB / 1.112 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/1.194, allocations: 4 kB / 1.112 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.936e-05/1.194, allocations: 100.6 kB / 1.112 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.194, allocations: 8 kB / 1.112 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004213/1.195, allocations: 55.94 kB / 1.112 GB, free: 6.277 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.0003355/1.195, allocations: 151.1 kB / 1.113 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003295/1.195, allocations: 87.92 kB / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.195, allocations: 1.219 kB / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/1.195, allocations: 55.91 kB / 1.113 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/1.196, allocations: 8 kB / 1.113 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/1.196, allocations: 160.8 kB / 1.113 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/1.197, allocations: 0.7043 MB / 1.113 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000136/1.197, allocations: 22.45 kB / 1.114 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/1.197, allocations: 23.42 kB / 1.114 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of SimCode: time 1.242e-06/1.197, allocations: 3.938 kB / 1.114 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of Templates: time 0.006097/1.203, allocations: 1.469 MB / 1.115 GB, free: 3.59 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)