Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.791/2.791, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001497/0.001497, allocations: 189.5 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.281/2.281, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 103.2 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008012/0.0008017, allocations: 11.09 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2463, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001202/0.2476, allocations: 0.5833 MB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003442/0.2511, allocations: 2.326 MB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2512, allocations: 11.88 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.2513, allocations: 7.938 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.2516, allocations: 55.81 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.2529, allocations: 363 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.2532, allocations: 183.6 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.258e-05/0.2533, allocations: 13.95 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.2536, allocations: 143.6 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.2538, allocations: 127.6 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.854e-05/0.2539, allocations: 12 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008321/0.2547, allocations: 275.7 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.2548, allocations: 59.78 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.2549, allocations: 57.64 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007817/0.2557, allocations: 383 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2557, allocations: 0 / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2557, allocations: 0 / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.2558, allocations: 0 / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001797/0.2576, allocations: 0.6243 MB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2576, allocations: 16 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.2577, allocations: 27.66 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2578, allocations: 190.7 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.258, allocations: 126.8 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.2581, allocations: 20 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.2586, allocations: 259.5 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2586, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.2586, allocations: 12 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2587, allocations: 4 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.259, allocations: 119.7 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.2601, allocations: 0.9511 MB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.2624, allocations: 499.5 kB / 0.9854 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.655e-05/0.2625, allocations: 12.16 kB / 0.9854 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005896/0.2631, allocations: 300 kB / 0.9857 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 3.426e-06/0.2631, allocations: 4 kB / 0.9857 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001149/0.2643, allocations: 400.9 kB / 0.9861 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.2644, allocations: 354.1 kB / 0.9864 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2646, allocations: 176.1 kB / 0.9866 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.2647, allocations: 42.2 kB / 0.9866 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.2647, allocations: 108.9 kB / 0.9867 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-05/0.2649, allocations: 114.5 kB / 0.9869 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.2649, allocations: 8 kB / 0.9869 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.265, allocations: 330.8 kB / 0.9872 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.2654, allocations: 101.1 kB / 0.9873 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.2658, allocations: 180.4 kB / 0.9874 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.2663, allocations: 120.6 kB / 0.9876 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2663, allocations: 0 / 0.9876 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00116/0.2675, allocations: 373.1 kB / 0.9879 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2675, allocations: 7.938 kB / 0.9879 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2676, allocations: 8 kB / 0.9879 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.2676, allocations: 7.953 kB / 0.9879 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.2683, allocations: 71.88 kB / 0.988 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.2683, allocations: 11.92 kB / 0.988 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.2689, allocations: 56.67 kB / 0.9881 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.2689, allocations: 19.98 kB / 0.9881 GB, free: 17.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001981/0.2691, allocations: 157.8 kB / 0.9882 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.2692, allocations: 23.72 kB / 0.9883 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.2702, allocations: 370.1 kB / 0.9886 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.2703, allocations: 11.95 kB / 0.9886 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.2703, allocations: 4 kB / 0.9886 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.2703, allocations: 7.984 kB / 0.9886 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.2708, allocations: 345.1 kB / 0.989 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.2708, allocations: 4.188 kB / 0.989 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.2714, allocations: 75.84 kB / 0.989 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.2714, allocations: 4 kB / 0.9891 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/0.2715, allocations: 23.97 kB / 0.9891 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.2715, allocations: 8 kB / 0.9891 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.2715, allocations: 7.953 kB / 0.9891 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/0.2725, allocations: 0.5981 MB / 0.9897 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.2727, allocations: 156.5 kB / 0.9898 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.68e-05/0.2728, allocations: 15.98 kB / 0.9898 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.2733, allocations: 40.23 kB / 0.9899 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.2735, allocations: 51.83 kB / 0.9899 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.2735, allocations: 27.98 kB / 0.99 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001286/0.2737, allocations: 131.2 kB / 0.9901 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2737, allocations: 0 / 0.9901 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008236/0.2745, allocations: 199.8 kB / 0.9903 GB, free: 15.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007377/0.2753, allocations: 321.8 kB / 0.9906 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009488/0.2762, allocations: 312.3 kB / 0.9909 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2762, allocations: 192 / 0.9909 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.2767, allocations: 187.7 kB / 0.9911 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2769, allocations: 20.12 kB / 0.9911 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2783, allocations: 0.6361 MB / 0.9917 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2785, allocations: 0.7691 MB / 0.9924 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000423/0.2789, allocations: 55.06 kB / 0.9925 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.2791, allocations: 51.41 kB / 0.9925 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2791, allocations: 0 / 0.9925 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.01301/0.2922, allocations: 5.031 MB / 0.9975 GB, free: 7.805 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)