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.727/1.727, allocations: 288.4 MB / 303.6 MB, free: 8.004 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.001576/0.001576, allocations: 187 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0009924/0.0009928, allocations: 102.3 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005271/0.0005271, allocations: 16.53 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3004, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001289/0.3017, allocations: 0.5796 MB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.3049, allocations: 2.329 MB / 0.983 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.3051, allocations: 0 / 0.983 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.3052, allocations: 7.875 kB / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.3055, allocations: 47.69 kB / 0.983 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3069, allocations: 376.9 kB / 0.9834 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.3072, allocations: 259.2 kB / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.3073, allocations: 13.97 kB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.3074, allocations: 127.6 kB / 0.9838 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.3076, allocations: 135.5 kB / 0.9839 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.3077, allocations: 12 kB / 0.9839 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.3081, allocations: 271.7 kB / 0.9842 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.3082, allocations: 55.84 kB / 0.9842 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3083, allocations: 129.2 kB / 0.9843 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.3087, allocations: 383 kB / 0.9847 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3087, allocations: 0 / 0.9847 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3088, allocations: 4 kB / 0.9847 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3088, allocations: 0 / 0.9847 GB, free: 22.63 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.001272/0.31, allocations: 0.6199 MB / 0.9853 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/0.3101, allocations: 12.03 kB / 0.9853 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.688e-05/0.3102, allocations: 20.66 kB / 0.9854 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3104, allocations: 192.1 kB / 0.9855 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.3105, allocations: 127.4 kB / 0.9857 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3106, allocations: 20.38 kB / 0.9857 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.3109, allocations: 255.7 kB / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.311, allocations: 0 / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.311, allocations: 11.98 kB / 0.9859 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.311, allocations: 4 kB / 0.9859 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.3112, allocations: 123.7 kB / 0.9861 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/0.3121, allocations: 0.9628 MB / 0.987 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.3134, allocations: 491.2 kB / 0.9875 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.3136, allocations: 150.4 kB / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-05/0.3136, allocations: 11.94 kB / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.3142, allocations: 307.8 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 1.953e-06/0.3142, allocations: 0 / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.000798/0.315, allocations: 397.6 kB / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.3152, allocations: 358.6 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3153, allocations: 181.1 kB / 0.9888 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3154, allocations: 37.7 kB / 0.9888 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.3154, allocations: 101 kB / 0.9889 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/0.3155, allocations: 118.4 kB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.3156, allocations: 4 kB / 0.9891 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3157, allocations: 334.8 kB / 0.9894 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.3159, allocations: 113 kB / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.3162, allocations: 184.3 kB / 0.9897 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.3167, allocations: 278.7 kB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3167, allocations: 0 / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006288/0.3174, allocations: 368.9 kB / 0.9903 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3174, allocations: 4 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3174, allocations: 4 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.3174, allocations: 4 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.3178, allocations: 80.81 kB / 0.9904 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.3178, allocations: 4 kB / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.3181, allocations: 67.59 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.3182, allocations: 19.98 kB / 0.9904 GB, free: 16.15 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.0001886/0.3184, allocations: 157.9 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.3184, allocations: 27.7 kB / 0.9906 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.3191, allocations: 358.1 kB / 0.991 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3191, allocations: 8 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.3191, allocations: 4 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.3192, allocations: 15.92 kB / 0.991 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.3195, allocations: 349.1 kB / 0.9913 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3195, allocations: 4 kB / 0.9913 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.3198, allocations: 71.89 kB / 0.9914 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3198, allocations: 8 kB / 0.9914 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.3199, allocations: 15.98 kB / 0.9914 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.3199, allocations: 4 kB / 0.9914 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3199, allocations: 7.938 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.3205, allocations: 497.4 kB / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3206, allocations: 152.5 kB / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.3207, allocations: 16.25 kB / 0.9921 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.3209, allocations: 40.34 kB / 0.9921 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.321, allocations: 55.88 kB / 0.9922 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.3211, allocations: 23.98 kB / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.585e-05/0.3212, allocations: 123.2 kB / 0.9923 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.503e-06/0.3212, allocations: 3.938 kB / 0.9923 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006174/0.3218, allocations: 211.7 kB / 0.9925 GB, free: 13.91 MB / 0.6198 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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.0004989/0.3223, allocations: 314.6 kB / 0.9928 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000557/0.3229, allocations: 320 kB / 0.9931 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.3229, allocations: 0 / 0.9931 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.3231, allocations: 179.8 kB / 0.9933 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.3235, allocations: 35.92 kB / 0.9933 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/0.3245, allocations: 0.6361 MB / 0.9939 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.3247, allocations: 0.7652 MB / 0.9947 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002203/0.325, allocations: 47.33 kB / 0.9947 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3251, allocations: 47.41 kB / 0.9948 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3251, allocations: 0 / 0.9948 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.009095/0.3342, allocations: 5.034 MB / 0.9997 GB, free: 6.461 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)