Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.672/2.672, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001449/0.001449, allocations: 172.5 kB / 371 MB, free: 10.88 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.289/2.289, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009692/0.0009691, allocations: 84.61 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007892/0.0007896, allocations: 16.42 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2481, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001147/0.2494, allocations: 0.5871 MB / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003572/0.253, allocations: 2.333 MB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.2532, allocations: 3.938 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.2532, allocations: 3.938 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.2535, allocations: 47.69 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.2549, allocations: 359 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.2553, allocations: 259.2 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.2554, allocations: 21.92 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.2557, allocations: 127.6 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.2559, allocations: 135.5 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.256, allocations: 12 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009072/0.2569, allocations: 275.8 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.257, allocations: 51.8 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2572, allocations: 61.64 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.2579, allocations: 375 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2579, allocations: 0 / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2579, allocations: 0 / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2579, allocations: 4 kB / 0.9829 GB, free: 23.72 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.001831/0.2598, allocations: 0.6225 MB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2598, allocations: 15.95 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.502e-05/0.2599, allocations: 23.72 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2601, allocations: 198.7 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.2603, allocations: 122.8 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.2603, allocations: 24 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.2608, allocations: 255.4 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2608, allocations: 0 / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.2609, allocations: 8 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.2609, allocations: 4 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.2613, allocations: 123.7 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.2623, allocations: 0.9511 MB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.2647, allocations: 495 kB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.265, allocations: 158.5 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.2651, allocations: 7.938 kB / 0.9858 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005962/0.2657, allocations: 312 kB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 4.319e-06/0.2657, allocations: 0 / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001171/0.2669, allocations: 401.7 kB / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.267, allocations: 358.6 kB / 0.9868 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.2672, allocations: 176.1 kB / 0.987 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.2673, allocations: 37.7 kB / 0.987 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.2673, allocations: 104.9 kB / 0.9871 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.2674, allocations: 110.5 kB / 0.9872 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.2675, allocations: 4 kB / 0.9872 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.2676, allocations: 338.8 kB / 0.9875 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.268, allocations: 101.1 kB / 0.9876 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.2684, allocations: 188.3 kB / 0.9878 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.2689, allocations: 111.9 kB / 0.9879 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2689, allocations: 7.875 kB / 0.9879 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001157/0.2701, allocations: 369.9 kB / 0.9883 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.2701, allocations: 4 kB / 0.9883 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.2701, allocations: 7.953 kB / 0.9883 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.2702, allocations: 4 kB / 0.9883 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.2708, allocations: 79.81 kB / 0.9884 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.2709, allocations: 4 kB / 0.9884 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.2714, allocations: 63.66 kB / 0.9884 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.2715, allocations: 19.98 kB / 0.9885 GB, free: 17.41 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.0002126/0.2717, allocations: 153.8 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.2718, allocations: 27.7 kB / 0.9886 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.2728, allocations: 366.2 kB / 0.989 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.2729, allocations: 11.95 kB / 0.989 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.2729, allocations: 4 kB / 0.989 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.2729, allocations: 7.984 kB / 0.989 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.2734, allocations: 345.1 kB / 0.9893 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.2734, allocations: 4 kB / 0.9893 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.274, allocations: 80.28 kB / 0.9894 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.274, allocations: 4 kB / 0.9894 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.2741, allocations: 15.98 kB / 0.9894 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.2741, allocations: 8 kB / 0.9894 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.2741, allocations: 7.953 kB / 0.9895 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009489/0.2751, allocations: 489.6 kB / 0.9899 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.2753, allocations: 148.5 kB / 0.9901 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/0.2754, allocations: 19.98 kB / 0.9901 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.2759, allocations: 39.97 kB / 0.9901 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.276, allocations: 55.83 kB / 0.9902 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.2761, allocations: 20 kB / 0.9902 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001258/0.2762, allocations: 135.2 kB / 0.9903 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2762, allocations: 0 / 0.9903 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008043/0.2771, allocations: 203.8 kB / 0.9905 GB, free: 15.17 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.000789/0.2779, allocations: 318 kB / 0.9908 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009846/0.2789, allocations: 311.6 kB / 0.9911 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2789, allocations: 0 / 0.9911 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.2794, allocations: 191.6 kB / 0.9913 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.2798, allocations: 32.12 kB / 0.9913 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2811, allocations: 0.637 MB / 0.9919 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.2814, allocations: 0.7652 MB / 0.9927 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004092/0.2818, allocations: 56.81 kB / 0.9928 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.282, allocations: 47.41 kB / 0.9928 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.342e-06/0.282, allocations: 0 / 0.9928 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.0132/0.2952, allocations: 5.042 MB / 0.9977 GB, free: 7.73 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)