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.0007786/0.0007788, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.000851/0.0008512, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.665/1.665, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004822/0.0004823, allocations: 12.88 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.0009641/0.2288, allocations: 0.5871 MB / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.2318, allocations: 2.408 MB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.232, allocations: 0 / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.232, allocations: 7.875 kB / 0.7902 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.2322, allocations: 39.75 kB / 0.7903 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2333, allocations: 410.8 kB / 0.7907 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.2336, allocations: 275.1 kB / 0.7909 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.471e-05/0.2337, allocations: 13.95 kB / 0.7909 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.2339, allocations: 127.6 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.2342, allocations: 143.6 kB / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.2342, allocations: 20 kB / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.2348, allocations: 283.7 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.2349, allocations: 55.84 kB / 0.7915 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.2349, allocations: 57.64 kB / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005785/0.2355, allocations: 410.9 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2355, allocations: 0 / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2356, allocations: 3.938 kB / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.2356, allocations: 0 / 0.792 GB, free: 7.078 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.001283/0.2369, allocations: 0.6255 MB / 0.7926 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2369, allocations: 8.031 kB / 0.7926 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.237, allocations: 19.81 kB / 0.7926 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.2371, allocations: 199.4 kB / 0.7928 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.2373, allocations: 134.7 kB / 0.7929 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.2374, allocations: 16 kB / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.2377, allocations: 235.8 kB / 0.7932 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2377, allocations: 0 / 0.7932 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.2378, allocations: 8 kB / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2378, allocations: 4 kB / 0.7932 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.238, allocations: 119.7 kB / 0.7933 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.2385, allocations: 395.2 kB / 0.7937 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.2397, allocations: 0.4915 MB / 0.7942 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.24, allocations: 158.3 kB / 0.7943 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.2401, allocations: 8 kB / 0.7943 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/0.2405, allocations: 319.5 kB / 0.7946 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.925e-06/0.2406, allocations: 0 / 0.7946 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008484/0.2414, allocations: 404.9 kB / 0.795 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.2416, allocations: 350.6 kB / 0.7953 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2418, allocations: 175.2 kB / 0.7955 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.2418, allocations: 45.7 kB / 0.7956 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.2419, allocations: 93.14 kB / 0.7956 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.9e-05/0.242, allocations: 110.4 kB / 0.7958 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.2421, allocations: 12 kB / 0.7958 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2422, allocations: 330.8 kB / 0.7961 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.2425, allocations: 117 kB / 0.7962 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.2428, allocations: 173 kB / 0.7964 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.243, allocations: 115.7 kB / 0.7965 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2431, allocations: 0 / 0.7965 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006598/0.2437, allocations: 368.3 kB / 0.7968 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2438, allocations: 7.938 kB / 0.7968 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2438, allocations: 4 kB / 0.7968 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2438, allocations: 8 kB / 0.7968 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.2441, allocations: 75.88 kB / 0.7969 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2442, allocations: 4 kB / 0.7969 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.2444, allocations: 63.5 kB / 0.797 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.2445, allocations: 19.98 kB / 0.797 GB, free: 1.379 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.2446, allocations: 163 kB / 0.7971 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.2447, allocations: 27.78 kB / 0.7972 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006138/0.2453, allocations: 363.1 kB / 0.7975 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.2453, allocations: 12 kB / 0.7975 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.2453, allocations: 4 kB / 0.7975 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2453, allocations: 7.922 kB / 0.7975 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.2457, allocations: 353.1 kB / 0.7979 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2457, allocations: 0 / 0.7979 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.246, allocations: 75.84 kB / 0.798 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.246, allocations: 4 kB / 0.798 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.2461, allocations: 19.98 kB / 0.798 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.2461, allocations: 8 kB / 0.798 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.2461, allocations: 7.938 kB / 0.798 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006775/0.2468, allocations: 0.49 MB / 0.7985 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.247, allocations: 144.6 kB / 0.7986 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.247, allocations: 15.98 kB / 0.7986 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.2473, allocations: 43.97 kB / 0.7987 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/0.2474, allocations: 47.89 kB / 0.7987 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.2474, allocations: 20 kB / 0.7987 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.916e-05/0.2475, allocations: 140.5 kB / 0.7989 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2475, allocations: 0 / 0.7989 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005404/0.2481, allocations: 215.7 kB / 0.7991 GB, free: 15.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005482/0.2486, allocations: 317 kB / 0.7994 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006054/0.2492, allocations: 335.1 kB / 0.7997 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2492, allocations: 0 / 0.7997 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.2495, allocations: 192 kB / 0.7999 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.2498, allocations: 34.61 kB / 0.7999 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009655/0.2508, allocations: 0.6399 MB / 0.8005 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.2511, allocations: 0.7653 MB / 0.8013 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.2514, allocations: 43.14 kB / 0.8013 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2515, allocations: 51.41 kB / 0.8014 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of SimCode: time 4.8e-07/0.2515, allocations: 4 kB / 0.8014 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.009535/0.261, allocations: 5.166 MB / 0.8064 GB, free: 7.516 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: