Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.002128/0.002128, allocations: 191.5 kB / 376.9 MB, free: 1.789 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.171/2.171, allocations: 205 MB / 0.6354 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 98.44 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002386/0.2943, allocations: 0.9624 MB / 0.9832 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003611/0.2979, allocations: 2.573 MB / 0.9857 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.2982, allocations: 0 / 0.9857 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.497e-05/0.2982, allocations: 11.88 kB / 0.9857 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.2986, allocations: 39.67 kB / 0.9857 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.3001, allocations: 430.8 kB / 0.9861 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.3005, allocations: 303.1 kB / 0.9864 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.093e-05/0.3005, allocations: 9.969 kB / 0.9864 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.3008, allocations: 139.5 kB / 0.9866 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.301, allocations: 143.5 kB / 0.9867 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.3011, allocations: 12 kB / 0.9867 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000655/0.3018, allocations: 303.8 kB / 0.987 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.893e-05/0.3019, allocations: 55.84 kB / 0.9871 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.302, allocations: 111.5 kB / 0.9872 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.3031, allocations: 0.5416 MB / 0.9877 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3031, allocations: 0 / 0.9877 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.42e-07/0.3031, allocations: 0 / 0.9877 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3031, allocations: 0 / 0.9877 GB, free: 4.734 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001516/0.3047, allocations: 0.6606 MB / 0.9883 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3047, allocations: 8.031 kB / 0.9883 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.445e-05/0.3048, allocations: 24.69 kB / 0.9884 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.305, allocations: 196.7 kB / 0.9886 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.3051, allocations: 131.4 kB / 0.9887 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.3052, allocations: 16.38 kB / 0.9887 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.3056, allocations: 251.8 kB / 0.9889 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3056, allocations: 4 kB / 0.9889 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.3056, allocations: 7.984 kB / 0.9889 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3056, allocations: 4 kB / 0.989 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.3058, allocations: 119.7 kB / 0.9891 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.3063, allocations: 395.2 kB / 0.9894 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.3077, allocations: 487.3 kB / 0.9899 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.3079, allocations: 158.3 kB / 0.9901 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.3079, allocations: 11.98 kB / 0.9901 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/0.3084, allocations: 320.1 kB / 0.9904 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 4.279e-06/0.3085, allocations: 0 / 0.9904 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.0007782/0.3092, allocations: 417.6 kB / 0.9908 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/0.3094, allocations: 358.1 kB / 0.9911 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3096, allocations: 167.3 kB / 0.9913 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.3096, allocations: 41.7 kB / 0.9913 GB, free: 500 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.3097, allocations: 97.05 kB / 0.9914 GB, free: 400 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/0.3098, allocations: 110.5 kB / 0.9915 GB, free: 288 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3099, allocations: 98.14 kB / 0.9916 GB, free: 184 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3101, allocations: 338.8 kB / 0.9919 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.3103, allocations: 121 kB / 0.992 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.3107, allocations: 161 kB / 0.9922 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/0.3113, allocations: 267.3 kB / 0.9925 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3113, allocations: 0 / 0.9925 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007695/0.3121, allocations: 377.6 kB / 0.9928 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.3121, allocations: 11.98 kB / 0.9928 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3121, allocations: 0 / 0.9928 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.3122, allocations: 4 kB / 0.9928 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.3125, allocations: 75.77 kB / 0.9929 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.3126, allocations: 11.97 kB / 0.9929 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.3129, allocations: 51.58 kB / 0.993 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.3129, allocations: 23.98 kB / 0.993 GB, free: 14.73 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.3132, allocations: 158.6 kB / 0.9931 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.3132, allocations: 23.75 kB / 0.9932 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007346/0.314, allocations: 366.4 kB / 0.9935 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.314, allocations: 8 kB / 0.9935 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.314, allocations: 4 kB / 0.9935 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.314, allocations: 7.984 kB / 0.9935 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.3144, allocations: 345.1 kB / 0.9939 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3144, allocations: 7.938 kB / 0.9939 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.3147, allocations: 79.84 kB / 0.9939 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3147, allocations: 4 kB / 0.9939 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.3148, allocations: 15.98 kB / 0.994 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.3148, allocations: 4 kB / 0.994 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3148, allocations: 4.188 kB / 0.994 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.316, allocations: 1.205 MB / 0.9951 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.3162, allocations: 144.6 kB / 0.9953 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.3163, allocations: 23.92 kB / 0.9953 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.3165, allocations: 27.98 kB / 0.9953 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.3166, allocations: 47.88 kB / 0.9954 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.3167, allocations: 24.23 kB / 0.9954 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001286/0.3168, allocations: 135.2 kB / 0.9955 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3168, allocations: 7.938 kB / 0.9955 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007863/0.3176, allocations: 215.7 kB / 0.9957 GB, free: 11.72 MB / 0.7292 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,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000521/0.3181, allocations: 321 kB / 0.996 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006097/0.3187, allocations: 340 kB / 0.9964 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3188, allocations: 0 / 0.9964 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.3191, allocations: 183.7 kB / 0.9965 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.3194, allocations: 38.92 kB / 0.9966 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.3207, allocations: 0.9303 MB / 0.9975 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.3211, allocations: 0.7691 MB / 0.9982 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.3213, allocations: 59.3 kB / 0.9983 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.3214, allocations: 39.42 kB / 0.9983 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.3214, allocations: 0 / 0.9983 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of Templates: time 0.009584/0.331, allocations: 5.483 MB / 1.004 GB, free: 3.477 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)