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.001001/0.001002, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009531/0.009531, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.819/1.819, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0006169/0.0006168, allocations: 17.7 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3071, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001403/0.3085, allocations: 0.6179 MB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.3134, allocations: 2.543 MB / 0.791 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.3136, allocations: 7.938 kB / 0.791 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.3137, allocations: 7.922 kB / 0.791 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.3141, allocations: 35.69 kB / 0.791 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.3157, allocations: 422.8 kB / 0.7914 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.3162, allocations: 307.1 kB / 0.7917 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.3163, allocations: 9.969 kB / 0.7917 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003631/0.3166, allocations: 135.6 kB / 0.7919 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.317, allocations: 143.5 kB / 0.792 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.3171, allocations: 16 kB / 0.792 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008358/0.3179, allocations: 299.7 kB / 0.7923 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.318, allocations: 59.8 kB / 0.7924 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.3183, allocations: 141.2 kB / 0.7925 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.3195, allocations: 0.5259 MB / 0.793 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3196, allocations: 0 / 0.793 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3196, allocations: 0 / 0.793 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.3196, allocations: 0 / 0.793 GB, free: 6.32 MB / 0.6075 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.001588/0.3212, allocations: 0.6295 MB / 0.7936 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.3212, allocations: 12.03 kB / 0.7936 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3214, allocations: 16.75 kB / 0.7936 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3216, allocations: 204.6 kB / 0.7938 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.3218, allocations: 131.3 kB / 0.794 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.3219, allocations: 24.36 kB / 0.794 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.3224, allocations: 243.9 kB / 0.7942 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3224, allocations: 3.984 kB / 0.7942 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.3224, allocations: 8 kB / 0.7942 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3224, allocations: 7.984 kB / 0.7942 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.3227, allocations: 111.7 kB / 0.7943 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.3233, allocations: 395.2 kB / 0.7947 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.3248, allocations: 499.3 kB / 0.7952 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.3251, allocations: 154.2 kB / 0.7953 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/0.3251, allocations: 11.98 kB / 0.7954 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005684/0.3257, allocations: 315.5 kB / 0.7957 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 3.717e-06/0.3257, allocations: 4 kB / 0.7957 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0009/0.3266, allocations: 409.5 kB / 0.7961 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.3268, allocations: 354.1 kB / 0.7964 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.327, allocations: 163.3 kB / 0.7965 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.327, allocations: 42.19 kB / 0.7966 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.3271, allocations: 101 kB / 0.7967 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3272, allocations: 114.5 kB / 0.7968 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.3273, allocations: 49.69 kB / 0.7968 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3275, allocations: 330.8 kB / 0.7972 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.3278, allocations: 113.1 kB / 0.7973 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.3281, allocations: 169 kB / 0.7974 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000569/0.3287, allocations: 273.9 kB / 0.7977 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.3287, allocations: 0 / 0.7977 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008388/0.3295, allocations: 380 kB / 0.7981 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3296, allocations: 4 kB / 0.7981 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3296, allocations: 4.141 kB / 0.7981 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3296, allocations: 0 / 0.7981 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.33, allocations: 92.8 kB / 0.7981 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.33, allocations: 4 kB / 0.7982 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.3304, allocations: 55.66 kB / 0.7982 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.3304, allocations: 19.98 kB / 0.7982 GB, free: 404 kB / 0.6075 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.0001773/0.3306, allocations: 161.7 kB / 0.7984 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/0.3307, allocations: 27.66 kB / 0.7984 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007378/0.3314, allocations: 362.1 kB / 0.7987 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.3314, allocations: 8 kB / 0.7988 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.3315, allocations: 4 kB / 0.7988 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3315, allocations: 7.984 kB / 0.7988 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.3319, allocations: 345 kB / 0.7991 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.332, allocations: 7.938 kB / 0.7991 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.3322, allocations: 71.83 kB / 0.7992 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.3323, allocations: 8 kB / 0.7992 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.3323, allocations: 16 kB / 0.7992 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.3323, allocations: 11.92 kB / 0.7992 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3323, allocations: 4 kB / 0.7992 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/0.3331, allocations: 497.9 kB / 0.7997 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.3333, allocations: 156.5 kB / 0.7998 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.3334, allocations: 16.25 kB / 0.7999 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3336, allocations: 39.97 kB / 0.7999 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3338, allocations: 59.81 kB / 0.7999 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.3338, allocations: 24.17 kB / 0.8 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001151/0.3339, allocations: 128.5 kB / 0.8001 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3339, allocations: 0 / 0.8001 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007234/0.3347, allocations: 211.7 kB / 0.8003 GB, free: 14.14 MB / 0.6231 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.0006894/0.3354, allocations: 336.9 kB / 0.8006 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007067/0.3361, allocations: 327.6 kB / 0.8009 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3361, allocations: 0 / 0.8009 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.3364, allocations: 183.7 kB / 0.8011 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.3368, allocations: 31.98 kB / 0.8011 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.3379, allocations: 0.6556 MB / 0.8018 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.3384, allocations: 0.7574 MB / 0.8025 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002513/0.3386, allocations: 62.42 kB / 0.8026 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3388, allocations: 39.42 kB / 0.8026 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.3388, allocations: 3.938 kB / 0.8026 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.0114/0.3502, allocations: 5.275 MB / 0.8078 GB, free: 6.41 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: