Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.897/1.897, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.002463/0.002464, allocations: 196.3 kB / 376.9 MB, free: 1.781 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.173/2.173, allocations: 205 MB / 0.6354 GB, free: 9.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 98.41 kB / 0.748 GB, free: 61.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3294, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.003023/0.3325, allocations: 0.9584 MB / 0.9832 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003989/0.3365, allocations: 2.577 MB / 0.9857 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.3367, allocations: 3.938 kB / 0.9857 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.015e-05/0.3368, allocations: 3.938 kB / 0.9857 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.3372, allocations: 39.67 kB / 0.9857 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.3385, allocations: 418.9 kB / 0.9861 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004709/0.339, allocations: 307.1 kB / 0.9864 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.144e-05/0.339, allocations: 9.969 kB / 0.9864 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.3394, allocations: 135.5 kB / 0.9866 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.3397, allocations: 147.5 kB / 0.9867 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.134e-05/0.3397, allocations: 12 kB / 0.9867 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000826/0.3406, allocations: 299.8 kB / 0.987 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.3407, allocations: 59.83 kB / 0.9871 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.3409, allocations: 107.5 kB / 0.9872 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.342, allocations: 0.5416 MB / 0.9877 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.342, allocations: 3.938 kB / 0.9877 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/0.342, allocations: 0 / 0.9877 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.3421, allocations: 0 / 0.9877 GB, free: 4.738 MB / 0.7136 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.001757/0.3438, allocations: 0.6606 MB / 0.9883 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3439, allocations: 8.031 kB / 0.9883 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.344, allocations: 20.75 kB / 0.9884 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3442, allocations: 196.7 kB / 0.9886 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.3444, allocations: 131.4 kB / 0.9887 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.3444, allocations: 24.3 kB / 0.9887 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.3448, allocations: 251.9 kB / 0.9889 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3449, allocations: 0 / 0.9889 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.3449, allocations: 8 kB / 0.9889 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3449, allocations: 8 kB / 0.989 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.3452, allocations: 115.7 kB / 0.9891 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.3457, allocations: 387.2 kB / 0.9894 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.3472, allocations: 499.3 kB / 0.9899 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.3475, allocations: 154.2 kB / 0.9901 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.3475, allocations: 8 kB / 0.9901 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005254/0.3481, allocations: 328 kB / 0.9904 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 2.835e-06/0.3481, allocations: 0 / 0.9904 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.0008815/0.349, allocations: 421.6 kB / 0.9908 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/0.3492, allocations: 350.1 kB / 0.9911 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3493, allocations: 167.3 kB / 0.9913 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.3494, allocations: 41.7 kB / 0.9913 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.3495, allocations: 97.05 kB / 0.9914 GB, free: 404 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.3496, allocations: 114.9 kB / 0.9915 GB, free: 288 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.3498, allocations: 102.1 kB / 0.9916 GB, free: 180 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3499, allocations: 326.8 kB / 0.9919 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.3502, allocations: 121 kB / 0.992 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.3505, allocations: 165 kB / 0.9922 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/0.3511, allocations: 267.3 kB / 0.9925 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3511, allocations: 0 / 0.9925 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007686/0.3519, allocations: 385.2 kB / 0.9928 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3519, allocations: 4 kB / 0.9928 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3519, allocations: 0 / 0.9928 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.352, allocations: 5 kB / 0.9928 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.3523, allocations: 75.81 kB / 0.9929 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3524, allocations: 8 kB / 0.9929 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.3527, allocations: 55.56 kB / 0.993 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.3527, allocations: 19.98 kB / 0.993 GB, free: 14.74 MB / 0.7292 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.0001728/0.3529, allocations: 153.7 kB / 0.9931 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.353, allocations: 23.75 kB / 0.9931 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/0.3537, allocations: 366 kB / 0.9935 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.3537, allocations: 12 kB / 0.9935 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3537, allocations: 4 kB / 0.9935 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3537, allocations: 3.984 kB / 0.9935 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.3542, allocations: 353.1 kB / 0.9939 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3542, allocations: 7.938 kB / 0.9939 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.3545, allocations: 75.84 kB / 0.9939 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.4e-05/0.3545, allocations: 4 kB / 0.9939 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.3546, allocations: 15.98 kB / 0.994 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.3546, allocations: 8 kB / 0.994 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3546, allocations: 0 / 0.994 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.3559, allocations: 1.205 MB / 0.9951 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.3561, allocations: 141 kB / 0.9953 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.3561, allocations: 23.92 kB / 0.9953 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3564, allocations: 39.95 kB / 0.9953 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3565, allocations: 47.88 kB / 0.9954 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.3566, allocations: 20 kB / 0.9954 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.767e-05/0.3567, allocations: 143.2 kB / 0.9955 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3567, allocations: 0 / 0.9955 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007791/0.3574, allocations: 215.7 kB / 0.9957 GB, free: 11.73 MB / 0.7292 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.0007084/0.3582, allocations: 320.9 kB / 0.996 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007277/0.3589, allocations: 328.8 kB / 0.9964 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3589, allocations: 4 kB / 0.9964 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.3592, allocations: 183.7 kB / 0.9965 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3596, allocations: 38.27 kB / 0.9966 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3609, allocations: 0.9264 MB / 0.9975 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.3613, allocations: 0.773 MB / 0.9982 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.3615, allocations: 63.23 kB / 0.9983 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3617, allocations: 47.41 kB / 0.9983 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of SimCode: time 2.104e-06/0.3617, allocations: 0 / 0.9983 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of Templates: time 0.01061/0.3723, allocations: 5.471 MB / 1.004 GB, free: 3.492 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)