Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.783/2.783, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001576/0.001575, allocations: 181 kB / 370.8 MB, free: 10.86 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.33/2.33, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001124/0.001124, allocations: 96.5 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004886, allocations: 11.44 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001092/0.2277, allocations: 0.5872 MB / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003373/0.2311, allocations: 2.33 MB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2313, allocations: 0 / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.2314, allocations: 7.875 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.2317, allocations: 55.83 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.233, allocations: 363 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.2333, allocations: 175.7 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.2334, allocations: 13.97 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.2337, allocations: 143.6 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.234, allocations: 139.5 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.2341, allocations: 12 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008577/0.2349, allocations: 271.8 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.235, allocations: 59.78 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.2351, allocations: 61.62 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007973/0.2359, allocations: 379 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.236, allocations: 7.938 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.236, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.236, allocations: 0 / 0.9827 GB, free: 23.79 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.001898/0.2379, allocations: 0.6187 MB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.238, allocations: 8.031 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.831e-05/0.2381, allocations: 27.66 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2382, allocations: 193.4 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.2384, allocations: 130.8 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.2385, allocations: 20 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.239, allocations: 255.4 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.239, allocations: 0 / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.2391, allocations: 8 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2391, allocations: 11.98 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.2394, allocations: 115.7 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.2405, allocations: 0.955 MB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.243, allocations: 499.6 kB / 0.9854 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.2431, allocations: 7.984 kB / 0.9854 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005753/0.2436, allocations: 300.1 kB / 0.9857 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 4.128e-06/0.2437, allocations: 0 / 0.9857 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001186/0.2449, allocations: 410.3 kB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.245, allocations: 354.1 kB / 0.9864 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.2452, allocations: 172.1 kB / 0.9866 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.2453, allocations: 45.69 kB / 0.9866 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.2453, allocations: 101.5 kB / 0.9867 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.2455, allocations: 118.5 kB / 0.9869 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.2455, allocations: 12 kB / 0.9869 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.2456, allocations: 326.8 kB / 0.9872 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.246, allocations: 109 kB / 0.9873 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.2465, allocations: 172.4 kB / 0.9874 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.2469, allocations: 120 kB / 0.9876 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.247, allocations: 0 / 0.9876 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001162/0.2481, allocations: 372.9 kB / 0.9879 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.2482, allocations: 7.938 kB / 0.9879 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2482, allocations: 4 kB / 0.9879 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.2482, allocations: 11.95 kB / 0.9879 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/0.2489, allocations: 75.88 kB / 0.988 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.249, allocations: 4.375 kB / 0.988 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/0.2495, allocations: 55.66 kB / 0.9881 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.2496, allocations: 19.98 kB / 0.9881 GB, free: 17.68 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.0002684/0.2499, allocations: 163.8 kB / 0.9882 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.25, allocations: 27.66 kB / 0.9883 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.251, allocations: 370.1 kB / 0.9886 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.251, allocations: 11.95 kB / 0.9886 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.2511, allocations: 4 kB / 0.9886 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.2511, allocations: 7.984 kB / 0.9886 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.2516, allocations: 345.1 kB / 0.989 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.2516, allocations: 4.438 kB / 0.989 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.2522, allocations: 75.89 kB / 0.989 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.2522, allocations: 4 kB / 0.9891 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.2523, allocations: 20 kB / 0.9891 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.2523, allocations: 11.92 kB / 0.9891 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.2523, allocations: 7.953 kB / 0.9891 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.2534, allocations: 0.602 MB / 0.9897 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.2536, allocations: 152.5 kB / 0.9898 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.983e-05/0.2537, allocations: 16 kB / 0.9898 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004982/0.2542, allocations: 43.97 kB / 0.9899 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.2544, allocations: 51.83 kB / 0.9899 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.2544, allocations: 23.98 kB / 0.99 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001347/0.2546, allocations: 127.2 kB / 0.9901 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2546, allocations: 0 / 0.9901 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008266/0.2554, allocations: 203.8 kB / 0.9903 GB, free: 15.24 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.000741/0.2562, allocations: 317.9 kB / 0.9906 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.2572, allocations: 315.5 kB / 0.9909 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.2572, allocations: 0 / 0.9909 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.2577, allocations: 181.3 kB / 0.991 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.258, allocations: 20.17 kB / 0.9911 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.2594, allocations: 0.6401 MB / 0.9917 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.2596, allocations: 0.766 MB / 0.9924 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004109/0.2601, allocations: 59.05 kB / 0.9925 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.2603, allocations: 47.41 kB / 0.9925 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of SimCode: time 1.403e-06/0.2603, allocations: 4 kB / 0.9925 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.013/0.2733, allocations: 5.008 MB / 0.9974 GB, free: 7.828 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)