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.001518/0.001518, allocations: 106.5 kB / 16.27 MB, free: 5.984 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.001672/0.001672, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.516/1.516, allocations: 205.1 MB / 223.1 MB, free: 12.33 MB / 190.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.791/1.791, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001423/0.001423, allocations: 72.38 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2501, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002271/0.2524, allocations: 0.896 MB / 0.7849 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003024/0.2555, allocations: 2.522 MB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.2556, allocations: 4 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.2556, allocations: 15.81 kB / 0.7874 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.2559, allocations: 43.56 kB / 0.7874 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4163/0.6721, allocations: 0.4943 MB / 0.7879 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.6726, allocations: 316.9 kB / 0.7882 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.6727, allocations: 12.05 kB / 0.7882 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.6729, allocations: 142.1 kB / 0.7884 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.6731, allocations: 151.7 kB / 0.7885 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.6731, allocations: 27.59 kB / 0.7885 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.6738, allocations: 310.4 kB / 0.7888 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.6739, allocations: 64.64 kB / 0.7889 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.674, allocations: 116.8 kB / 0.789 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006295/0.6746, allocations: 0.5422 MB / 0.7895 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6746, allocations: 4.594 kB / 0.7895 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6747, allocations: 0 / 0.7895 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.6747, allocations: 0 / 0.7895 GB, free: 45.8 MB / 0.6544 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.001229/0.6759, allocations: 0.6671 MB / 0.7902 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.676, allocations: 13.16 kB / 0.7902 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.676, allocations: 19.28 kB / 0.7902 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.6762, allocations: 197.1 kB / 0.7904 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.6763, allocations: 127.1 kB / 0.7905 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.6763, allocations: 15.88 kB / 0.7905 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.6766, allocations: 245.5 kB / 0.7908 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6767, allocations: 1.5 kB / 0.7908 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.6767, allocations: 6.312 kB / 0.7908 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.6767, allocations: 6.25 kB / 0.7908 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.6769, allocations: 118.7 kB / 0.7909 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.6773, allocations: 397.4 kB / 0.7913 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.6786, allocations: 492.5 kB / 0.7918 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.6788, allocations: 159.1 kB / 0.7919 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.6788, allocations: 6.25 kB / 0.7919 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.6792, allocations: 326.4 kB / 0.7922 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.6792, allocations: 3.938 kB / 0.7922 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0007507/0.68, allocations: 414.8 kB / 0.7926 GB, free: 44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.6801, allocations: 352.2 kB / 0.793 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.6802, allocations: 165.6 kB / 0.7931 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.6803, allocations: 38.02 kB / 0.7932 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.6803, allocations: 104.3 kB / 0.7933 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.6804, allocations: 108.7 kB / 0.7934 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.6805, allocations: 102.5 kB / 0.7935 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.6806, allocations: 327.6 kB / 0.7938 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.6808, allocations: 121.5 kB / 0.7939 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.6811, allocations: 166.3 kB / 0.794 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.6816, allocations: 269 kB / 0.7943 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6816, allocations: 0 / 0.7943 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006259/0.6822, allocations: 373.4 kB / 0.7947 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6822, allocations: 7.875 kB / 0.7947 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6823, allocations: 2.344 kB / 0.7947 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.6823, allocations: 7.406 kB / 0.7947 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.6826, allocations: 85.64 kB / 0.7948 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.6827, allocations: 3.469 kB / 0.7948 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.6829, allocations: 50.19 kB / 0.7948 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.683, allocations: 23.89 kB / 0.7948 GB, free: 42.83 MB / 0.6544 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.0001276/0.6831, allocations: 152.1 kB / 0.795 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.6832, allocations: 26.36 kB / 0.795 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/0.6838, allocations: 364.5 kB / 0.7953 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6838, allocations: 10.19 kB / 0.7954 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.6838, allocations: 3.062 kB / 0.7954 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6838, allocations: 10.89 kB / 0.7954 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.6842, allocations: 347.6 kB / 0.7957 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6842, allocations: 7.672 kB / 0.7957 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.6845, allocations: 77.22 kB / 0.7958 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6845, allocations: 3.375 kB / 0.7958 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.6845, allocations: 23.52 kB / 0.7958 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.6845, allocations: 6.594 kB / 0.7958 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.6845, allocations: 3.5 kB / 0.7958 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.6851, allocations: 0.4889 MB / 0.7963 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.6853, allocations: 150.6 kB / 0.7964 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.6853, allocations: 16.69 kB / 0.7965 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.6855, allocations: 25.95 kB / 0.7965 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.6856, allocations: 56.03 kB / 0.7965 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.6857, allocations: 24.19 kB / 0.7966 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.998e-05/0.6858, allocations: 138.1 kB / 0.7967 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6858, allocations: 0 / 0.7967 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005922/0.6864, allocations: 216.9 kB / 0.7969 GB, free: 41.99 MB / 0.6544 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.0004581/0.6868, allocations: 320 kB / 0.7972 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006215/0.6875, allocations: 355.5 kB / 0.7975 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6875, allocations: 0 / 0.7975 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.6877, allocations: 194.7 kB / 0.7977 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.688, allocations: 27.22 kB / 0.7978 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.6888, allocations: 0.583 MB / 0.7983 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.689, allocations: 0.7586 MB / 0.7991 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.6892, allocations: 52.41 kB / 0.7991 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6892, allocations: 0.6562 kB / 0.7991 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.01021/0.6994, allocations: 5.203 MB / 0.8042 GB, free: 40.32 MB / 0.6544 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)