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.00157/0.00157, allocations: 103.8 kB / 16.29 MB, free: 6.43 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.002047/0.002047, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.83/1.83, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.975/1.975, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.002692/0.002692, allocations: 71.89 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2882, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002269/0.2905, allocations: 0.8999 MB / 0.785 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.2935, allocations: 2.522 MB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.2936, allocations: 0 / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.2937, allocations: 15.8 kB / 0.7874 GB, free: 356 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.2939, allocations: 47.56 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4998/0.7937, allocations: 497.4 kB / 0.788 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006206/0.7943, allocations: 318 kB / 0.7883 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.7945, allocations: 19.75 kB / 0.7883 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.7947, allocations: 145.6 kB / 0.7884 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.795, allocations: 156 kB / 0.7886 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/0.7951, allocations: 23.62 kB / 0.7886 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.7962, allocations: 368.1 kB / 0.7889 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.7963, allocations: 68.66 kB / 0.789 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.7964, allocations: 118.1 kB / 0.7891 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009012/0.7973, allocations: 0.5445 MB / 0.7897 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.7974, allocations: 1.5 kB / 0.7897 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.452e-06/0.7974, allocations: 3.469 kB / 0.7897 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.7974, allocations: 0 / 0.7897 GB, free: 45.73 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.001401/0.7988, allocations: 0.6619 MB / 0.7903 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.7989, allocations: 11.22 kB / 0.7903 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.799, allocations: 20.12 kB / 0.7903 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.7991, allocations: 194.4 kB / 0.7905 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.7993, allocations: 131 kB / 0.7906 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.7993, allocations: 16.75 kB / 0.7907 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.7997, allocations: 245.4 kB / 0.7909 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.7997, allocations: 4.594 kB / 0.7909 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.7997, allocations: 10.52 kB / 0.7909 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.7998, allocations: 4.375 kB / 0.7909 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.8, allocations: 115.2 kB / 0.791 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.8005, allocations: 400.1 kB / 0.7914 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.802, allocations: 495.6 kB / 0.7919 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.8023, allocations: 153 kB / 0.792 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-05/0.8023, allocations: 13.12 kB / 0.792 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000694/0.803, allocations: 317 kB / 0.7923 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.8031, allocations: 0 / 0.7923 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.001011/0.8041, allocations: 419.8 kB / 0.7927 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002483/0.8043, allocations: 352 kB / 0.7931 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.8046, allocations: 165.5 kB / 0.7932 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.8046, allocations: 41.45 kB / 0.7933 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.8047, allocations: 99.19 kB / 0.7934 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.8049, allocations: 109.2 kB / 0.7935 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.805, allocations: 100.5 kB / 0.7936 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.8052, allocations: 330.9 kB / 0.7939 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.8055, allocations: 124 kB / 0.794 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.8059, allocations: 164.2 kB / 0.7942 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.8065, allocations: 268 kB / 0.7944 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8065, allocations: 0.9375 kB / 0.7944 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008541/0.8074, allocations: 382.5 kB / 0.7948 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.8074, allocations: 3.406 kB / 0.7948 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.8074, allocations: 6.219 kB / 0.7948 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/0.8075, allocations: 3.469 kB / 0.7948 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.8079, allocations: 77.84 kB / 0.7949 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.8079, allocations: 3.5 kB / 0.7949 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.8082, allocations: 51.41 kB / 0.7949 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.8083, allocations: 21.27 kB / 0.7949 GB, free: 42.75 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.0001997/0.8085, allocations: 155.7 kB / 0.7951 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.8086, allocations: 28.66 kB / 0.7951 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007411/0.8093, allocations: 358.1 kB / 0.7955 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.8093, allocations: 10.19 kB / 0.7955 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.8094, allocations: 3.438 kB / 0.7955 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.8094, allocations: 11.28 kB / 0.7955 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.8098, allocations: 348.6 kB / 0.7958 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.8098, allocations: 4.188 kB / 0.7958 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.8101, allocations: 78.72 kB / 0.7959 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.8101, allocations: 3.438 kB / 0.7959 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.8102, allocations: 16.31 kB / 0.7959 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.8102, allocations: 9.469 kB / 0.7959 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.8102, allocations: 7.844 kB / 0.7959 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.811, allocations: 0.4957 MB / 0.7964 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.8112, allocations: 148.8 kB / 0.7966 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.8113, allocations: 20.27 kB / 0.7966 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.8115, allocations: 29.19 kB / 0.7966 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.8117, allocations: 46.17 kB / 0.7966 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.8117, allocations: 23.91 kB / 0.7967 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001051/0.8118, allocations: 137.7 kB / 0.7968 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8118, allocations: 0 / 0.7968 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008729/0.8127, allocations: 218.9 kB / 0.797 GB, free: 41.91 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.0007138/0.8134, allocations: 319.1 kB / 0.7973 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007034/0.8141, allocations: 336 kB / 0.7976 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.8142, allocations: 0 / 0.7976 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.8145, allocations: 191 kB / 0.7978 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.8148, allocations: 31.12 kB / 0.7978 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000939/0.8158, allocations: 0.5473 MB / 0.7984 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.816, allocations: 0.7614 MB / 0.7991 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001927/0.8162, allocations: 51.83 kB / 0.7992 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.8164, allocations: 50.77 kB / 0.7992 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.8164, allocations: 0 / 0.7992 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.01811/0.8345, allocations: 5.609 MB / 0.8047 GB, free: 40.43 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)