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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001232/0.001232, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.774/1.774, allocations: 205.1 MB / 222 MB, free: 4.734 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 2.152/2.152, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001341/0.001341, allocations: 62.66 kB / 0.6708 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.287, allocations: 114.6 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002447/0.2895, allocations: 0.9684 MB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003198/0.2928, allocations: 2.57 MB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.2928, allocations: 0 / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.021e-05/0.2929, allocations: 7.875 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.2932, allocations: 43.67 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008936/0.2941, allocations: 421.5 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.2944, allocations: 311.1 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.292e-05/0.2945, allocations: 13.95 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.2947, allocations: 123.6 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.2949, allocations: 143.5 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.295, allocations: 16 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.2955, allocations: 311.7 kB / 0.7875 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.2956, allocations: 59.78 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.2957, allocations: 107.5 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.2964, allocations: 0.5298 MB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2964, allocations: 0 / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2964, allocations: 0 / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.2964, allocations: 0 / 0.7881 GB, free: 8.422 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.001441/0.2979, allocations: 0.6646 MB / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2979, allocations: 12.03 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.079e-05/0.298, allocations: 20.66 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.2982, allocations: 196.7 kB / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.2984, allocations: 127.4 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.2985, allocations: 20.36 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.2988, allocations: 239.9 kB / 0.7894 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2989, allocations: 3.938 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.2989, allocations: 7.984 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.2989, allocations: 4 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.2992, allocations: 119.8 kB / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.2996, allocations: 403 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.3011, allocations: 495.3 kB / 0.7904 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.3013, allocations: 150.3 kB / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.3014, allocations: 15.94 kB / 0.7905 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/0.302, allocations: 311.5 kB / 0.7908 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.302, allocations: 0 / 0.7908 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008292/0.3028, allocations: 410 kB / 0.7912 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/0.303, allocations: 362.2 kB / 0.7916 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3031, allocations: 163.2 kB / 0.7917 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.3032, allocations: 41.69 kB / 0.7918 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.3033, allocations: 97.05 kB / 0.7918 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3034, allocations: 114.5 kB / 0.792 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3035, allocations: 98.16 kB / 0.792 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3037, allocations: 338.8 kB / 0.7924 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.3039, allocations: 113.1 kB / 0.7925 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.3043, allocations: 165 kB / 0.7926 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.3048, allocations: 270.4 kB / 0.7929 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3048, allocations: 0 / 0.7929 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007555/0.3056, allocations: 381.1 kB / 0.7933 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3056, allocations: 4 kB / 0.7933 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3056, allocations: 0 / 0.7933 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3057, allocations: 4 kB / 0.7933 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.3061, allocations: 79.88 kB / 0.7933 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.3061, allocations: 0 / 0.7933 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.3064, allocations: 55.66 kB / 0.7934 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.3064, allocations: 19.98 kB / 0.7934 GB, free: 2.441 MB / 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.0001649/0.3066, allocations: 161.6 kB / 0.7936 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.3067, allocations: 27.66 kB / 0.7936 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.3073, allocations: 366.5 kB / 0.7939 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.3074, allocations: 8 kB / 0.794 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3074, allocations: 4 kB / 0.794 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.3074, allocations: 7.984 kB / 0.794 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.3078, allocations: 349.2 kB / 0.7943 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.3078, allocations: 11.92 kB / 0.7943 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.3082, allocations: 71.91 kB / 0.7944 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.3082, allocations: 8 kB / 0.7944 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.3083, allocations: 19.98 kB / 0.7944 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.3083, allocations: 7.938 kB / 0.7944 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3083, allocations: 4 kB / 0.7944 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000718/0.309, allocations: 497.8 kB / 0.7949 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.3092, allocations: 144.6 kB / 0.795 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.3093, allocations: 19.94 kB / 0.795 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3095, allocations: 31.97 kB / 0.7951 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.3097, allocations: 55.81 kB / 0.7951 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.3097, allocations: 23.98 kB / 0.7952 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001056/0.3098, allocations: 132.5 kB / 0.7953 GB, free: 404 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3098, allocations: 0 / 0.7953 GB, free: 404 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000631/0.3105, allocations: 211.7 kB / 0.7955 GB, free: 192 kB / 0.6075 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.0006082/0.3111, allocations: 329.1 kB / 0.7958 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006676/0.3117, allocations: 331 kB / 0.7961 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3118, allocations: 0 / 0.7961 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.3121, allocations: 188.5 kB / 0.7963 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3124, allocations: 39.86 kB / 0.7963 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3134, allocations: 0.6491 MB / 0.797 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3138, allocations: 0.7614 MB / 0.7977 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.314, allocations: 49.95 kB / 0.7978 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.3141, allocations: 47.41 kB / 0.7978 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.3141, allocations: 4 kB / 0.7978 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.009582/0.3237, allocations: 5.318 MB / 0.803 GB, free: 8.418 MB / 0.6231 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)