Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.824/1.824, allocations: 288.4 MB / 304.3 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 184.5 kB / 372.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 0.6316 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008608/0.0008611, allocations: 106.1 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 11.91 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2632, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001115/0.2644, allocations: 0.5873 MB / 0.9813 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.2669, allocations: 2.329 MB / 0.9836 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.267, allocations: 0 / 0.9836 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.267, allocations: 11.81 kB / 0.9836 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.2672, allocations: 39.75 kB / 0.9836 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/0.268, allocations: 366.9 kB / 0.984 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.2682, allocations: 263.2 kB / 0.9842 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.729e-05/0.2683, allocations: 17.95 kB / 0.9843 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.2685, allocations: 127.6 kB / 0.9844 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.2687, allocations: 127.6 kB / 0.9845 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.2688, allocations: 12 kB / 0.9845 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.2692, allocations: 275.7 kB / 0.9848 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.2693, allocations: 55.86 kB / 0.9848 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.2694, allocations: 129.2 kB / 0.985 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.2698, allocations: 383 kB / 0.9853 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2698, allocations: 3.938 kB / 0.9853 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2698, allocations: 0 / 0.9853 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2698, allocations: 0 / 0.9853 GB, free: 22.62 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001164/0.271, allocations: 0.6187 MB / 0.9859 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.271, allocations: 12.03 kB / 0.9859 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.2711, allocations: 24.66 kB / 0.986 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2712, allocations: 190.7 kB / 0.9861 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.2714, allocations: 131.4 kB / 0.9863 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.2714, allocations: 16.38 kB / 0.9863 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.2718, allocations: 259.7 kB / 0.9865 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2718, allocations: 0 / 0.9865 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.2718, allocations: 8 kB / 0.9865 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.2718, allocations: 4 kB / 0.9865 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.272, allocations: 123.7 kB / 0.9867 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.2728, allocations: 0.9589 MB / 0.9876 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.274, allocations: 491.2 kB / 0.9881 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.2741, allocations: 150.4 kB / 0.9882 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.2742, allocations: 15.98 kB / 0.9882 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/0.2746, allocations: 303.8 kB / 0.9885 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.325e-06/0.2746, allocations: 0 / 0.9885 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0006587/0.2752, allocations: 405.9 kB / 0.9889 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/0.2753, allocations: 354.1 kB / 0.9892 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2755, allocations: 177.1 kB / 0.9894 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.2755, allocations: 41.7 kB / 0.9894 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.2756, allocations: 97.05 kB / 0.9895 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.2756, allocations: 114.8 kB / 0.9897 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.2757, allocations: 19.94 kB / 0.9897 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.2758, allocations: 330.8 kB / 0.99 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.276, allocations: 109 kB / 0.9901 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.2762, allocations: 176.4 kB / 0.9903 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.2768, allocations: 282.6 kB / 0.9905 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2768, allocations: 0 / 0.9905 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005999/0.2774, allocations: 364.9 kB / 0.9909 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2774, allocations: 9.719 kB / 0.9909 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2775, allocations: 4 kB / 0.9909 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.2775, allocations: 4 kB / 0.9909 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.2779, allocations: 83.81 kB / 0.991 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.2779, allocations: 7.984 kB / 0.991 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.2782, allocations: 59.66 kB / 0.991 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.2782, allocations: 23.92 kB / 0.9911 GB, free: 16.13 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$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.0001374/0.2783, allocations: 153.8 kB / 0.9912 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.2784, allocations: 27.72 kB / 0.9912 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.279, allocations: 355.2 kB / 0.9916 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.279, allocations: 7.984 kB / 0.9916 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.279, allocations: 4 kB / 0.9916 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.2791, allocations: 152.5 kB / 0.9917 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.2792, allocations: 19.94 kB / 0.9917 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.2794, allocations: 44.09 kB / 0.9918 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2796, allocations: 51.88 kB / 0.9918 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007769/0.2803, allocations: 1.348 MB / 0.9932 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007243/0.2811, allocations: 1.385 MB / 0.9945 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000196/0.2813, allocations: 160.2 kB / 0.9947 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.264e-05/0.2814, allocations: 127.2 kB / 0.9948 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of Backend: time 8.32e-07/0.2814, allocations: 0 / 0.9948 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.2832, allocations: 468.2 kB / 0.9952 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000733/0.2839, allocations: 0.8847 MB / 0.9961 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.007922/0.2919, allocations: 5.239 MB / 1.001 GB, free: 5.625 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)