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.001615/0.001615, allocations: 102.3 kB / 16.35 MB, free: 6.348 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.001756/0.001756, allocations: 196.9 kB / 17.29 MB, free: 5.93 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.566/1.566, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.852/1.852, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001592/0.001592, allocations: 67.19 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2342, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.00238/0.2366, allocations: 0.9028 MB / 0.7857 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3997/0.6364, allocations: 2.516 MB / 0.7881 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.6366, allocations: 2.906 kB / 0.7881 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.336e-05/0.6366, allocations: 15.05 kB / 0.7881 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.6369, allocations: 50.45 kB / 0.7882 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.6381, allocations: 0.4954 MB / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.6384, allocations: 312.4 kB / 0.789 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.306e-05/0.6385, allocations: 15.89 kB / 0.789 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.6387, allocations: 145 kB / 0.7891 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.6389, allocations: 152.2 kB / 0.7893 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.6389, allocations: 24.28 kB / 0.7893 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006118/0.6395, allocations: 372.7 kB / 0.7896 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.6396, allocations: 65.58 kB / 0.7897 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.6397, allocations: 125.1 kB / 0.7898 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006458/0.6404, allocations: 0.5427 MB / 0.7904 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6404, allocations: 0 / 0.7904 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6404, allocations: 3.938 kB / 0.7904 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.6404, allocations: 3.375 kB / 0.7904 GB, free: 46.46 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.001314/0.6418, allocations: 0.6567 MB / 0.791 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.6418, allocations: 9.719 kB / 0.791 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.6419, allocations: 25.16 kB / 0.791 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.477e-05/0.642, allocations: 196.6 kB / 0.7912 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.6421, allocations: 126.5 kB / 0.7913 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.6422, allocations: 20.2 kB / 0.7914 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.6425, allocations: 243.6 kB / 0.7916 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6425, allocations: 2.625 kB / 0.7916 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.6425, allocations: 15.36 kB / 0.7916 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.6426, allocations: 2.625 kB / 0.7916 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.6428, allocations: 117.9 kB / 0.7917 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.6431, allocations: 393.4 kB / 0.7921 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.6446, allocations: 497.7 kB / 0.7926 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.6448, allocations: 160.5 kB / 0.7927 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.6448, allocations: 12.7 kB / 0.7927 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006952/0.6455, allocations: 316.7 kB / 0.793 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.6456, allocations: 0 / 0.793 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0009563/0.6465, allocations: 414.9 kB / 0.7934 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.6467, allocations: 355.2 kB / 0.7938 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.6468, allocations: 165.6 kB / 0.7939 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.6468, allocations: 39.83 kB / 0.794 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.6469, allocations: 98.77 kB / 0.7941 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.647, allocations: 109.7 kB / 0.7942 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.6471, allocations: 99.08 kB / 0.7943 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.6472, allocations: 334.7 kB / 0.7946 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.6475, allocations: 113 kB / 0.7947 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.6478, allocations: 174.6 kB / 0.7949 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.6483, allocations: 268.7 kB / 0.7951 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6483, allocations: 0 / 0.7951 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007305/0.6491, allocations: 384.3 kB / 0.7955 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6491, allocations: 3.406 kB / 0.7955 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6491, allocations: 3.438 kB / 0.7955 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.6491, allocations: 0 / 0.7955 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.6496, allocations: 79.5 kB / 0.7956 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.6496, allocations: 6.969 kB / 0.7956 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.6499, allocations: 52.61 kB / 0.7956 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.6499, allocations: 17.06 kB / 0.7956 GB, free: 43.48 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.0001382/0.6501, allocations: 157.8 kB / 0.7958 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.6501, allocations: 29.05 kB / 0.7958 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000598/0.6508, allocations: 361.5 kB / 0.7962 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6508, allocations: 6.938 kB / 0.7962 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.6508, allocations: 3.5 kB / 0.7962 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.6508, allocations: 7.125 kB / 0.7962 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.6511, allocations: 352.1 kB / 0.7965 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.6511, allocations: 3.375 kB / 0.7965 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.6514, allocations: 76 kB / 0.7966 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.6514, allocations: 3.469 kB / 0.7966 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.6514, allocations: 20.41 kB / 0.7966 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.6515, allocations: 6.562 kB / 0.7966 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6515, allocations: 3.438 kB / 0.7966 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006209/0.6521, allocations: 0.4892 MB / 0.7971 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.6522, allocations: 154.3 kB / 0.7972 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.6523, allocations: 15.78 kB / 0.7973 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.6525, allocations: 36.36 kB / 0.7973 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6527, allocations: 42.28 kB / 0.7973 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.6527, allocations: 26.23 kB / 0.7974 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.686e-05/0.6528, allocations: 142.8 kB / 0.7975 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6528, allocations: 0 / 0.7975 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006352/0.6534, allocations: 214.7 kB / 0.7977 GB, free: 42.64 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.0004558/0.6539, allocations: 324.6 kB / 0.798 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006132/0.6545, allocations: 335.5 kB / 0.7983 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6545, allocations: 0 / 0.7983 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.6548, allocations: 189.8 kB / 0.7985 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.6551, allocations: 33.19 kB / 0.7985 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.656, allocations: 0.5463 MB / 0.7991 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.6562, allocations: 0.7554 MB / 0.7998 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.6564, allocations: 59.52 kB / 0.7999 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.6565, allocations: 48.78 kB / 0.7999 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of SimCode: time 3.6e-07/0.6565, allocations: 4 kB / 0.7999 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.01296/0.6695, allocations: 5.604 MB / 0.8054 GB, free: 41.14 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)