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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.684/1.684, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.838/1.838, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001639/0.001639, allocations: 72.2 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3449, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002543/0.3475, allocations: 0.9036 MB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.3507, allocations: 2.519 MB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.3509, allocations: 0 / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.774e-05/0.3509, allocations: 15.8 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.3512, allocations: 47.56 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3524, allocations: 0.4974 MB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.3528, allocations: 323.1 kB / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.3529, allocations: 17.67 kB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.3531, allocations: 135.6 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.3534, allocations: 151.5 kB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.3535, allocations: 24 kB / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.354, allocations: 319.8 kB / 0.7882 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.3541, allocations: 63.8 kB / 0.7883 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.3543, allocations: 119.5 kB / 0.7884 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006962/0.355, allocations: 0.5416 MB / 0.7889 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.355, allocations: 0 / 0.7889 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.355, allocations: 0 / 0.7889 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.355, allocations: 4 kB / 0.7889 GB, free: 7.781 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.001516/0.3565, allocations: 0.6607 MB / 0.7895 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.3566, allocations: 12.03 kB / 0.7896 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.3567, allocations: 24.66 kB / 0.7896 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.357, allocations: 188.8 kB / 0.7898 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.3572, allocations: 127.4 kB / 0.7899 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.3573, allocations: 20.38 kB / 0.7899 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.3578, allocations: 235.9 kB / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3578, allocations: 0 / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.3578, allocations: 11.94 kB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.3579, allocations: 4 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.3581, allocations: 119.8 kB / 0.7903 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.3586, allocations: 395.1 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.3602, allocations: 499.2 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.3604, allocations: 162.2 kB / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.3604, allocations: 15.98 kB / 0.7913 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005526/0.361, allocations: 315.5 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.723e-06/0.361, allocations: 0 / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008614/0.3619, allocations: 414.2 kB / 0.792 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/0.3621, allocations: 354.2 kB / 0.7923 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3623, allocations: 169.3 kB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.3623, allocations: 41.7 kB / 0.7925 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.3624, allocations: 97.03 kB / 0.7926 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3625, allocations: 114.5 kB / 0.7927 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3626, allocations: 98.22 kB / 0.7928 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3628, allocations: 334.8 kB / 0.7931 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.3631, allocations: 113.1 kB / 0.7932 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.3634, allocations: 165 kB / 0.7934 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.364, allocations: 270.8 kB / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.364, allocations: 0 / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000755/0.3648, allocations: 380.3 kB / 0.794 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3648, allocations: 4 kB / 0.794 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.3648, allocations: 4 kB / 0.794 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.3648, allocations: 0 / 0.794 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.3652, allocations: 83.81 kB / 0.7941 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3653, allocations: 4 kB / 0.7941 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.3656, allocations: 51.66 kB / 0.7942 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.3656, allocations: 19.98 kB / 0.7942 GB, free: 1.797 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.0001792/0.3658, allocations: 158.4 kB / 0.7943 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.3659, allocations: 27.66 kB / 0.7944 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006815/0.3666, allocations: 358 kB / 0.7947 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.3666, allocations: 8 kB / 0.7947 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.3666, allocations: 4.438 kB / 0.7947 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.3666, allocations: 7.984 kB / 0.7947 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.367, allocations: 345.1 kB / 0.795 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.367, allocations: 11.94 kB / 0.7951 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.3673, allocations: 83.83 kB / 0.7951 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.3674, allocations: 4 kB / 0.7951 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.3674, allocations: 19.94 kB / 0.7952 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.3674, allocations: 7.984 kB / 0.7952 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.3674, allocations: 7.938 kB / 0.7952 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.3682, allocations: 497.8 kB / 0.7956 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.3684, allocations: 144.6 kB / 0.7958 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-05/0.3685, allocations: 20.03 kB / 0.7958 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.3687, allocations: 35.86 kB / 0.7958 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.3689, allocations: 47.89 kB / 0.7959 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.3689, allocations: 27.98 kB / 0.7959 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001114/0.369, allocations: 128.8 kB / 0.796 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.369, allocations: 0 / 0.796 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007093/0.3697, allocations: 211.7 kB / 0.7962 GB, free: 15.55 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 (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.000588/0.3703, allocations: 334.2 kB / 0.7966 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007486/0.3711, allocations: 358.4 kB / 0.7969 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3711, allocations: 0 / 0.7969 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.3714, allocations: 188.3 kB / 0.7971 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.3717, allocations: 28 kB / 0.7971 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.3728, allocations: 0.5693 MB / 0.7977 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.3733, allocations: 0.7611 MB / 0.7984 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.3735, allocations: 51.27 kB / 0.7985 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.3736, allocations: 55.34 kB / 0.7985 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.3737, allocations: 0 / 0.7985 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of Templates: time 0.0121/0.3858, allocations: 5.585 MB / 0.804 GB, free: 7.562 MB / 0.6231 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)