Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 84.8 kB / 21.62 MB, free: 2.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 171.2 kB / 25.05 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9269/0.9269, allocations: 177.1 MB / 205.5 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.934/1.934, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.7761 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.136e-05, allocations: 5.094 kB / 0.7761 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.00199/0.002011, allocations: 0.904 MB / 0.777 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.00526, allocations: 2.485 MB / 0.7794 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.046e-05/0.005341, allocations: 4 kB / 0.7794 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.178e-05/0.005392, allocations: 12.69 kB / 0.7794 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.005639, allocations: 56.64 kB / 0.7795 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009962/0.006635, allocations: 475.6 kB / 0.7799 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.006958, allocations: 323 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.007008, allocations: 14.45 kB / 0.7803 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.007338, allocations: 194.7 kB / 0.7804 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.007521, allocations: 131.7 kB / 0.7806 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.007568, allocations: 24 kB / 0.7806 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006438/0.008212, allocations: 419.5 kB / 0.781 GB, free: 304 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.008277, allocations: 72.52 kB / 0.7811 GB, free: 232 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.008367, allocations: 87.84 kB / 0.7811 GB, free: 144 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.009087, allocations: 0.5816 MB / 0.7817 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.009094, allocations: 4 kB / 0.7817 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.02e-07/0.009094, allocations: 0 / 0.7817 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.009099, allocations: 0 / 0.7817 GB, free: 15.55 MB / 0.7448 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.001012/0.01011, allocations: 0.5727 MB / 0.7823 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.01016, allocations: 12.75 kB / 0.7823 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008879/0.01105, allocations: 144.1 kB / 0.7824 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.01118, allocations: 135.1 kB / 0.7826 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.01134, allocations: 234.2 kB / 0.7828 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.01138, allocations: 21.3 kB / 0.7828 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.01162, allocations: 205 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01163, allocations: 1.031 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.01165, allocations: 12.12 kB / 0.783 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.01166, allocations: 4 kB / 0.783 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.01178, allocations: 64.94 kB / 0.7831 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.01207, allocations: 199.8 kB / 0.7833 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009044/0.01298, allocations: 429.7 kB / 0.7837 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.01312, allocations: 104.6 kB / 0.7838 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.01316, allocations: 15.94 kB / 0.7838 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.01351, allocations: 283.4 kB / 0.7841 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 1.774e-06/0.01352, allocations: 0 / 0.7841 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0004852/0.014, allocations: 244.8 kB / 0.7843 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002023/0.0142, allocations: 350.1 kB / 0.7846 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.01434, allocations: 177.7 kB / 0.7848 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.01438, allocations: 38.3 kB / 0.7848 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.01443, allocations: 97.08 kB / 0.7849 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.01453, allocations: 125.7 kB / 0.785 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.01465, allocations: 86.12 kB / 0.7851 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.01476, allocations: 338.8 kB / 0.7855 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.01489, allocations: 61.66 kB / 0.7855 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.01502, allocations: 100.5 kB / 0.7856 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.01527, allocations: 172.2 kB / 0.7858 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01528, allocations: 0 / 0.7858 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003275/0.01561, allocations: 213.1 kB / 0.786 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01562, allocations: 4 kB / 0.786 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.01563, allocations: 7.984 kB / 0.786 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.01565, allocations: 0 / 0.786 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.01595, allocations: 91.8 kB / 0.7861 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.01596, allocations: 13.02 kB / 0.7861 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.01611, allocations: 43.77 kB / 0.7861 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.01614, allocations: 16.92 kB / 0.7861 GB, free: 10.52 MB / 0.7448 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.0001268/0.01627, allocations: 150.6 kB / 0.7863 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.01632, allocations: 31.91 kB / 0.7863 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.01675, allocations: 269 kB / 0.7866 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.01675, allocations: 8 kB / 0.7866 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01676, allocations: 4 kB / 0.7866 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.01677, allocations: 11.92 kB / 0.7866 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.01704, allocations: 194 kB / 0.7868 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.01705, allocations: 4 kB / 0.7868 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.01726, allocations: 71.91 kB / 0.7869 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.01727, allocations: 8 kB / 0.7869 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.0173, allocations: 14.7 kB / 0.7869 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.0173, allocations: 7.938 kB / 0.7869 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.01731, allocations: 4 kB / 0.7869 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.0177, allocations: 337.5 kB / 0.7872 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.01782, allocations: 55.69 kB / 0.7873 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.01787, allocations: 23.94 kB / 0.7873 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.01801, allocations: 19.98 kB / 0.7873 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.01811, allocations: 60.39 kB / 0.7874 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.01813, allocations: 17.36 kB / 0.7874 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.01818, allocations: 49.33 kB / 0.7874 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01818, allocations: 0 / 0.7874 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005195/0.0187, allocations: 227.2 kB / 0.7876 GB, free: 8.91 MB / 0.7448 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.0005195/0.01922, allocations: 350.7 kB / 0.788 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.01959, allocations: 219 kB / 0.7882 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.01959, allocations: 4.5 kB / 0.7882 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.01977, allocations: 139.9 kB / 0.7883 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.01998, allocations: 35.98 kB / 0.7884 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.02099, allocations: 0.5233 MB / 0.7889 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.474e-05/0.02106, allocations: 93.83 kB / 0.789 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.02125, allocations: 62.45 kB / 0.789 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.02141, allocations: 103.4 kB / 0.7891 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.02141, allocations: 0 / 0.7891 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.008837/0.03025, allocations: 6.452 MB / 0.7954 GB, free: 1.027 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.000145154073834]