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.001578/0.001579, allocations: 108 kB / 15.6 MB, free: 128 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.001813/0.001813, allocations: 196.4 kB / 16.53 MB, free: 6.672 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.773/1.773, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.879/1.879, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001556/0.001557, allocations: 73.47 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3462, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002652/0.3489, allocations: 0.9074 MB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003348/0.3523, allocations: 2.523 MB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.3524, allocations: 0 / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.882e-05/0.3524, allocations: 11.81 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.3527, allocations: 47.56 kB / 0.7868 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3539, allocations: 0.4986 MB / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000318/0.3542, allocations: 315.2 kB / 0.7876 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.3543, allocations: 21.61 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.3546, allocations: 135.6 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.3548, allocations: 151.5 kB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.3549, allocations: 24 kB / 0.7879 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006885/0.3556, allocations: 311.8 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.3557, allocations: 75.78 kB / 0.7883 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.3559, allocations: 119.5 kB / 0.7884 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007301/0.3566, allocations: 0.5338 MB / 0.7889 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3566, allocations: 0 / 0.7889 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.971e-06/0.3566, allocations: 4 kB / 0.7889 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.3566, allocations: 0 / 0.7889 GB, free: 7.801 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.001605/0.3582, allocations: 0.6607 MB / 0.7895 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.3583, allocations: 12.03 kB / 0.7896 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.3584, allocations: 24.66 kB / 0.7896 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3586, allocations: 192.8 kB / 0.7898 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.3588, allocations: 123.4 kB / 0.7899 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.359, allocations: 32.25 kB / 0.7899 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.3594, allocations: 231.9 kB / 0.7901 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3594, allocations: 3.938 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.3595, allocations: 11.98 kB / 0.7901 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3595, allocations: 4 kB / 0.7902 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.3597, allocations: 115.8 kB / 0.7903 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.3603, allocations: 403 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.3619, allocations: 491.3 kB / 0.7911 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.3621, allocations: 158.3 kB / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.3622, allocations: 8 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005859/0.3628, allocations: 319.4 kB / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.445e-06/0.3628, allocations: 0 / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0009366/0.3638, allocations: 417 kB / 0.792 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002816/0.364, allocations: 354.6 kB / 0.7923 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.3643, allocations: 173.3 kB / 0.7925 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.3644, allocations: 41.7 kB / 0.7925 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.3645, allocations: 93.05 kB / 0.7926 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3646, allocations: 110.5 kB / 0.7927 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.3648, allocations: 94.23 kB / 0.7928 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3649, allocations: 334.8 kB / 0.7931 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.3652, allocations: 117 kB / 0.7932 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.3655, allocations: 165 kB / 0.7934 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.3661, allocations: 274.1 kB / 0.7937 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3662, allocations: 4 kB / 0.7937 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008944/0.3671, allocations: 380.5 kB / 0.794 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.3671, allocations: 7.984 kB / 0.794 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3671, allocations: 4 kB / 0.794 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.3671, allocations: 0 / 0.794 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.3675, allocations: 79.88 kB / 0.7941 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.3676, allocations: 4 kB / 0.7941 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.3679, allocations: 43.67 kB / 0.7942 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.368, allocations: 19.98 kB / 0.7942 GB, free: 1.82 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.0001947/0.3682, allocations: 161.7 kB / 0.7943 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.3683, allocations: 27.66 kB / 0.7944 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007296/0.369, allocations: 363.2 kB / 0.7947 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.369, allocations: 8 kB / 0.7947 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.369, allocations: 4 kB / 0.7947 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.3691, allocations: 11.92 kB / 0.7947 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.3695, allocations: 349.1 kB / 0.7951 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.3695, allocations: 7.938 kB / 0.7951 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.3698, allocations: 71.91 kB / 0.7951 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.3698, allocations: 4 kB / 0.7951 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.3699, allocations: 27.92 kB / 0.7952 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.3699, allocations: 4 kB / 0.7952 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.3699, allocations: 11.88 kB / 0.7952 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007509/0.3706, allocations: 493.8 kB / 0.7956 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.3708, allocations: 152.6 kB / 0.7958 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.3709, allocations: 16 kB / 0.7958 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.3711, allocations: 32.02 kB / 0.7958 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.3713, allocations: 51.88 kB / 0.7959 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.3713, allocations: 23.98 kB / 0.7959 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001121/0.3714, allocations: 132.8 kB / 0.796 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3714, allocations: 3.938 kB / 0.796 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006955/0.3721, allocations: 211.7 kB / 0.7962 GB, free: 15.57 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.0006577/0.3728, allocations: 330.3 kB / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007366/0.3736, allocations: 355.6 kB / 0.7969 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3736, allocations: 0 / 0.7969 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.3739, allocations: 195.6 kB / 0.7971 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.3742, allocations: 31.98 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.001143/0.3753, allocations: 0.556 MB / 0.7977 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.3759, allocations: 0.7611 MB / 0.7984 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002267/0.3761, allocations: 54.81 kB / 0.7985 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.3762, allocations: 47.42 kB / 0.7985 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of SimCode: time 4.308e-06/0.3762, allocations: 0 / 0.7985 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.01244/0.3887, allocations: 5.623 MB / 0.804 GB, free: 7.559 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (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)