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.001149/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 195.1 kB / 16.14 MB, free: 6.738 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.663/1.663, allocations: 205.1 MB / 222 MB, free: 5.031 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.82/1.82, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001778/0.001778, allocations: 67.73 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3257, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002222/0.328, allocations: 0.9644 MB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002978/0.331, allocations: 2.57 MB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.3311, allocations: 0 / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.119e-05/0.3312, allocations: 11.86 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.3314, allocations: 47.62 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009024/0.3323, allocations: 414.9 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.3326, allocations: 307.1 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.3327, allocations: 9.969 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.3329, allocations: 135.6 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.3331, allocations: 147.5 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.3331, allocations: 12 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/0.3337, allocations: 299.8 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.3337, allocations: 55.8 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3339, allocations: 115.5 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006777/0.3345, allocations: 0.5337 MB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3346, allocations: 4 kB / 0.7881 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3346, allocations: 0 / 0.7881 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3346, allocations: 0 / 0.7881 GB, free: 8.398 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.001369/0.3359, allocations: 0.6645 MB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.336, allocations: 12.03 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/0.3361, allocations: 20.75 kB / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3362, allocations: 196.6 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.3364, allocations: 127.4 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.3364, allocations: 20.38 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.3368, allocations: 243.8 kB / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3368, allocations: 0 / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3368, allocations: 4 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3368, allocations: 4 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.3371, allocations: 119.7 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.3375, allocations: 395.2 kB / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.3389, allocations: 491.3 kB / 0.7904 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.3391, allocations: 162.2 kB / 0.7905 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.3392, allocations: 11.98 kB / 0.7905 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005116/0.3397, allocations: 315.5 kB / 0.7908 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.914e-06/0.3397, allocations: 0 / 0.7908 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007931/0.3405, allocations: 417.5 kB / 0.7912 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.3406, allocations: 358.6 kB / 0.7916 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3408, allocations: 159.3 kB / 0.7917 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.3408, allocations: 41.7 kB / 0.7917 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3409, allocations: 101 kB / 0.7918 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.235e-05/0.341, allocations: 110.5 kB / 0.792 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3411, allocations: 106.1 kB / 0.7921 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3412, allocations: 330.8 kB / 0.7924 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.3415, allocations: 121 kB / 0.7925 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.3418, allocations: 169 kB / 0.7926 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005102/0.3423, allocations: 262.1 kB / 0.7929 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3423, allocations: 3.938 kB / 0.7929 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007236/0.3431, allocations: 379.1 kB / 0.7933 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3431, allocations: 4 kB / 0.7933 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3431, allocations: 4 kB / 0.7933 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3431, allocations: 4 kB / 0.7933 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.3435, allocations: 79.81 kB / 0.7933 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.3435, allocations: 4 kB / 0.7934 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.3438, allocations: 51.56 kB / 0.7934 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.3439, allocations: 19.98 kB / 0.7934 GB, free: 2.414 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.0001406/0.344, allocations: 161.6 kB / 0.7936 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.3441, allocations: 27.75 kB / 0.7936 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.3447, allocations: 367.2 kB / 0.7939 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3448, allocations: 8 kB / 0.794 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.3448, allocations: 4 kB / 0.794 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.3448, allocations: 7.984 kB / 0.794 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.3451, allocations: 345.1 kB / 0.7943 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3452, allocations: 7.938 kB / 0.7943 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.3454, allocations: 75.89 kB / 0.7944 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.3455, allocations: 4 kB / 0.7944 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.3455, allocations: 19.94 kB / 0.7944 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3455, allocations: 11.98 kB / 0.7944 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3455, allocations: 4 kB / 0.7944 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.3462, allocations: 0.4902 MB / 0.7949 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.3463, allocations: 140.6 kB / 0.795 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.3464, allocations: 23.92 kB / 0.7951 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.3466, allocations: 31.97 kB / 0.7951 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3467, allocations: 55.81 kB / 0.7951 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.3468, allocations: 20 kB / 0.7952 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.08e-05/0.3469, allocations: 136.5 kB / 0.7953 GB, free: 376 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3469, allocations: 0 / 0.7953 GB, free: 376 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005734/0.3475, allocations: 211.7 kB / 0.7955 GB, free: 164 kB / 0.6075 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.0005316/0.348, allocations: 317 kB / 0.7958 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006194/0.3486, allocations: 332.8 kB / 0.7961 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3486, allocations: 0 / 0.7961 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.3489, allocations: 191.9 kB / 0.7963 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.3492, allocations: 35.92 kB / 0.7963 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009401/0.3502, allocations: 0.6451 MB / 0.797 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3505, allocations: 0.7536 MB / 0.7977 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002207/0.3507, allocations: 59.23 kB / 0.7977 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.3508, allocations: 47.41 kB / 0.7978 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of SimCode: time 4.1e-07/0.3508, allocations: 0 / 0.7978 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.009175/0.36, allocations: 5.308 MB / 0.803 GB, free: 8.402 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)