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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007796/0.0007799, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008791/0.0008792, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.7 MB / 0.5499 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005836/0.0005837, allocations: 20.66 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2438, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001049/0.2449, allocations: 457.5 kB / 0.7877 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.2472, allocations: 1.496 MB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.2473, allocations: 0 / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.2473, allocations: 11.86 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.2475, allocations: 23.86 kB / 0.7892 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.2479, allocations: 115.7 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.2481, allocations: 99.7 kB / 0.7894 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2482, allocations: 19.98 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.2484, allocations: 39.84 kB / 0.7895 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2485, allocations: 43.83 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.2485, allocations: 4 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.2487, allocations: 75.94 kB / 0.7896 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.2487, allocations: 19.91 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.2488, allocations: 41.64 kB / 0.7897 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.249, allocations: 143.9 kB / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.249, allocations: 0 / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2491, allocations: 4 kB / 0.7898 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2491, allocations: 0 / 0.7898 GB, free: 9.383 MB / 0.6075 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.0006932/0.2498, allocations: 419 kB / 0.7902 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2498, allocations: 8.031 kB / 0.7902 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.2499, allocations: 11.91 kB / 0.7902 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.25, allocations: 171 kB / 0.7904 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/0.2501, allocations: 37.69 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.2501, allocations: 8 kB / 0.7904 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.2503, allocations: 88.23 kB / 0.7905 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2503, allocations: 0 / 0.7905 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.2504, allocations: 8 kB / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2504, allocations: 0 / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.2505, allocations: 47.91 kB / 0.7906 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.2511, allocations: 0.5359 MB / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.2516, allocations: 135.7 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.2517, allocations: 42.67 kB / 0.7913 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.2517, allocations: 7.984 kB / 0.7913 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.2519, allocations: 113.9 kB / 0.7914 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.805e-06/0.2519, allocations: 3.984 kB / 0.7914 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0003181/0.2523, allocations: 145.5 kB / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.2523, allocations: 106.8 kB / 0.7916 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.2524, allocations: 133.7 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2524, allocations: 29.7 kB / 0.7918 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.2525, allocations: 92.41 kB / 0.7919 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.2525, allocations: 31.62 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.2525, allocations: 0 / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2527, allocations: 318.8 kB / 0.7922 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.2528, allocations: 43.95 kB / 0.7922 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.2528, allocations: 35.98 kB / 0.7923 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.661e-05/0.2529, allocations: 38.94 kB / 0.7923 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2529, allocations: 0 / 0.7923 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002284/0.2532, allocations: 129.5 kB / 0.7924 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2532, allocations: 4 kB / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2532, allocations: 0 / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2532, allocations: 0 / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.2533, allocations: 27.88 kB / 0.7925 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2534, allocations: 0 / 0.7925 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.2534, allocations: 27.83 kB / 0.7925 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2535, allocations: 7.938 kB / 0.7925 GB, free: 6.332 MB / 0.6075 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.not1.y) * 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 9.969e-05/0.2536, allocations: 121.8 kB / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.2536, allocations: 11.89 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.2538, allocations: 110 kB / 0.7927 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.2539, allocations: 4 kB / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2539, allocations: 3.953 kB / 0.7927 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2539, allocations: 3.984 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.2541, allocations: 217.5 kB / 0.7929 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2541, allocations: 4 kB / 0.7929 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.2542, allocations: 15.94 kB / 0.793 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2542, allocations: 4 kB / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.2543, allocations: 7.984 kB / 0.793 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2543, allocations: 4 kB / 0.793 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2543, allocations: 4 kB / 0.793 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.2545, allocations: 166.6 kB / 0.7931 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.2546, allocations: 108.9 kB / 0.7932 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.2546, allocations: 320 / 0.7932 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.2547, allocations: 19.98 kB / 0.7933 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.2548, allocations: 16.16 kB / 0.7933 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.2548, allocations: 11.95 kB / 0.7933 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.39e-05/0.2549, allocations: 95.27 kB / 0.7934 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2549, allocations: 0 / 0.7934 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002655/0.2551, allocations: 55.94 kB / 0.7934 GB, free: 5.258 MB / 0.6075 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.not1.y) * 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.0002287/0.2554, allocations: 158.2 kB / 0.7936 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.2556, allocations: 102.1 kB / 0.7937 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2556, allocations: 4 kB / 0.7937 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.2557, allocations: 51.92 kB / 0.7937 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.2559, allocations: 11.98 kB / 0.7937 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.2564, allocations: 271 kB / 0.794 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.2567, allocations: 0.7004 MB / 0.7947 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.147e-05/0.2568, allocations: 16.55 kB / 0.7947 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.2568, allocations: 19.44 kB / 0.7947 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2568, allocations: 0 / 0.7947 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of Templates: time 0.003992/0.2608, allocations: 1.597 MB / 0.7963 GB, free: 2.285 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) Environment - environmentSimulation: