Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 104.6 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001179, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.016/2.016, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 71.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2752, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002694/0.278, allocations: 0.896 MB / 0.785 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003685/0.2817, allocations: 2.522 MB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.2819, allocations: 8 kB / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.753e-05/0.2819, allocations: 11.81 kB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.2822, allocations: 39.62 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.531/0.8133, allocations: 0.4986 MB / 0.788 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006102/0.8139, allocations: 313.5 kB / 0.7883 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.27e-05/0.814, allocations: 15.44 kB / 0.7883 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.8143, allocations: 152.7 kB / 0.7884 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.8145, allocations: 149.3 kB / 0.7886 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.8146, allocations: 22.84 kB / 0.7886 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009423/0.8155, allocations: 370.8 kB / 0.7889 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.8156, allocations: 65.61 kB / 0.789 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.8157, allocations: 120.8 kB / 0.7891 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007414/0.8165, allocations: 0.5422 MB / 0.7897 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.8165, allocations: 3.438 kB / 0.7897 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.407e-06/0.8165, allocations: 0 / 0.7897 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.8165, allocations: 3 kB / 0.7897 GB, free: 45.93 MB / 0.6544 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.001353/0.8179, allocations: 0.6656 MB / 0.7903 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.818, allocations: 8.531 kB / 0.7903 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.818, allocations: 19.72 kB / 0.7903 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.8182, allocations: 197.8 kB / 0.7905 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.8184, allocations: 127.2 kB / 0.7906 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.8184, allocations: 18 kB / 0.7907 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.8188, allocations: 241.6 kB / 0.7909 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.8188, allocations: 5.812 kB / 0.7909 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.8188, allocations: 7.125 kB / 0.7909 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.8188, allocations: 3.125 kB / 0.7909 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.8191, allocations: 121.3 kB / 0.791 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.8195, allocations: 394.2 kB / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.8207, allocations: 494.9 kB / 0.7919 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.8209, allocations: 157.7 kB / 0.792 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.821, allocations: 16.38 kB / 0.792 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005416/0.8215, allocations: 321 kB / 0.7923 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.8216, allocations: 0 / 0.7923 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0008367/0.8224, allocations: 415.7 kB / 0.7927 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.8225, allocations: 351.7 kB / 0.7931 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.8227, allocations: 162.7 kB / 0.7932 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.8227, allocations: 43.73 kB / 0.7933 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.8228, allocations: 99.94 kB / 0.7934 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.151e-05/0.8229, allocations: 106.5 kB / 0.7935 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.823, allocations: 104.9 kB / 0.7936 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.8231, allocations: 327.5 kB / 0.7939 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.8234, allocations: 122.9 kB / 0.794 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.8237, allocations: 166.4 kB / 0.7942 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.8242, allocations: 268.9 kB / 0.7944 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8242, allocations: 0 / 0.7944 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007185/0.825, allocations: 378.2 kB / 0.7948 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.825, allocations: 4.281 kB / 0.7948 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.825, allocations: 0 / 0.7948 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.825, allocations: 4.938 kB / 0.7948 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.8254, allocations: 81.22 kB / 0.7949 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.8255, allocations: 3.5 kB / 0.7949 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.8257, allocations: 53.3 kB / 0.7949 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.8258, allocations: 26.42 kB / 0.7949 GB, free: 42.95 MB / 0.6544 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.0001622/0.826, allocations: 159.8 kB / 0.7951 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.826, allocations: 21.91 kB / 0.7951 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/0.8267, allocations: 359.1 kB / 0.7955 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.8267, allocations: 10.31 kB / 0.7955 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.8267, allocations: 7.281 kB / 0.7955 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.8267, allocations: 15.78 kB / 0.7955 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.8271, allocations: 343.4 kB / 0.7958 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8271, allocations: 3.094 kB / 0.7958 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.8274, allocations: 71.28 kB / 0.7959 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.8274, allocations: 6.969 kB / 0.7959 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.8274, allocations: 22.41 kB / 0.7959 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.8275, allocations: 8.625 kB / 0.7959 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8275, allocations: 6.5 kB / 0.7959 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.8281, allocations: 0.4887 MB / 0.7964 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.8282, allocations: 146.3 kB / 0.7965 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.8283, allocations: 20.23 kB / 0.7966 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.8285, allocations: 30.72 kB / 0.7966 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.8287, allocations: 48.62 kB / 0.7966 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.035e-05/0.8287, allocations: 23.88 kB / 0.7967 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001219/0.8289, allocations: 137.2 kB / 0.7968 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.793e-06/0.8289, allocations: 1.5 kB / 0.7968 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008273/0.8297, allocations: 221.2 kB / 0.797 GB, free: 42.11 MB / 0.6544 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.000711/0.8304, allocations: 316.7 kB / 0.7973 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000724/0.8312, allocations: 338.6 kB / 0.7976 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8312, allocations: 0 / 0.7976 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.8315, allocations: 193.6 kB / 0.7978 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.8319, allocations: 33.42 kB / 0.7979 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.8332, allocations: 0.5414 MB / 0.7984 GB, free: 41.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.8337, allocations: 0.7602 MB / 0.7991 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.8339, allocations: 57.47 kB / 0.7992 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.8341, allocations: 49.34 kB / 0.7992 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.8341, allocations: 0 / 0.7992 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.01823/0.8523, allocations: 5.606 MB / 0.8047 GB, free: 40.62 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)