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.001107/0.001107, allocations: 100.4 kB / 16.35 MB, free: 6.352 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.001115/0.001115, allocations: 194.2 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.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.861/1.861, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001533/0.001533, allocations: 66.25 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2592, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002421/0.2616, allocations: 0.9078 MB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4139/0.6756, allocations: 2.51 MB / 0.7881 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.6758, allocations: 3.375 kB / 0.7881 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.688e-05/0.6759, allocations: 15.38 kB / 0.7881 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.6761, allocations: 46.05 kB / 0.7882 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.6773, allocations: 0.4955 MB / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.6776, allocations: 312.8 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.985e-05/0.6777, allocations: 14.55 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.6778, allocations: 142.9 kB / 0.7891 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.678, allocations: 155.9 kB / 0.7893 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.6781, allocations: 23.62 kB / 0.7893 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.6788, allocations: 370.6 kB / 0.7896 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.6788, allocations: 66.25 kB / 0.7897 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.679, allocations: 122.7 kB / 0.7898 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000599/0.6796, allocations: 0.551 MB / 0.7904 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6796, allocations: 2.625 kB / 0.7904 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6796, allocations: 0 / 0.7904 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.6796, allocations: 0 / 0.7904 GB, free: 46.39 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.001249/0.6808, allocations: 0.6637 MB / 0.791 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.6809, allocations: 10.5 kB / 0.791 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.681, allocations: 19.25 kB / 0.791 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.6811, allocations: 190.9 kB / 0.7912 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.6812, allocations: 129.9 kB / 0.7913 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.6813, allocations: 22.22 kB / 0.7914 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.6816, allocations: 240.8 kB / 0.7916 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6816, allocations: 3.938 kB / 0.7916 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.6817, allocations: 10.59 kB / 0.7916 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.6817, allocations: 5.25 kB / 0.7916 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.6819, allocations: 119.9 kB / 0.7917 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.6822, allocations: 392.8 kB / 0.7921 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.6835, allocations: 499.5 kB / 0.7926 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.6837, allocations: 156.7 kB / 0.7927 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.6837, allocations: 10.77 kB / 0.7927 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000454/0.6842, allocations: 313 kB / 0.793 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.6842, allocations: 4 kB / 0.793 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0007785/0.685, allocations: 416.2 kB / 0.7934 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/0.6851, allocations: 354.3 kB / 0.7938 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.6852, allocations: 161.9 kB / 0.7939 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.6853, allocations: 42.3 kB / 0.794 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.6853, allocations: 105.5 kB / 0.7941 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.6854, allocations: 107.6 kB / 0.7942 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.6855, allocations: 100.4 kB / 0.7943 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.6856, allocations: 329.8 kB / 0.7946 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.6858, allocations: 114.2 kB / 0.7947 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.6861, allocations: 176.2 kB / 0.7949 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.6866, allocations: 266 kB / 0.7951 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6866, allocations: 0 / 0.7951 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006796/0.6873, allocations: 374.5 kB / 0.7955 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.6873, allocations: 6.781 kB / 0.7955 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6873, allocations: 0 / 0.7955 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.6874, allocations: 12.02 kB / 0.7955 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.6877, allocations: 80.7 kB / 0.7956 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.6878, allocations: 3.438 kB / 0.7956 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.688, allocations: 49.83 kB / 0.7956 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.6881, allocations: 20.52 kB / 0.7956 GB, free: 43.41 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.0001223/0.6882, allocations: 156.3 kB / 0.7958 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.6883, allocations: 27.16 kB / 0.7958 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005597/0.6888, allocations: 361.2 kB / 0.7962 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.6889, allocations: 10.34 kB / 0.7962 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.6889, allocations: 3.5 kB / 0.7962 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.6889, allocations: 6.5 kB / 0.7962 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.6892, allocations: 345.7 kB / 0.7965 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6892, allocations: 3.5 kB / 0.7965 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.6895, allocations: 76.94 kB / 0.7966 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6895, allocations: 7.438 kB / 0.7966 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.6895, allocations: 19.86 kB / 0.7966 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.6895, allocations: 8.469 kB / 0.7966 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.6895, allocations: 7.094 kB / 0.7966 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.6902, allocations: 495.2 kB / 0.7971 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.6903, allocations: 150 kB / 0.7972 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.6904, allocations: 20.59 kB / 0.7973 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.6906, allocations: 36.2 kB / 0.7973 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.6907, allocations: 47.92 kB / 0.7973 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.6908, allocations: 29.84 kB / 0.7974 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.985e-05/0.6909, allocations: 133 kB / 0.7975 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6909, allocations: 0 / 0.7975 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007702/0.6917, allocations: 212.1 kB / 0.7977 GB, free: 42.57 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.0006391/0.6923, allocations: 328.6 kB / 0.798 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007875/0.6931, allocations: 340 kB / 0.7983 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6931, allocations: 0 / 0.7983 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.6934, allocations: 187.9 kB / 0.7985 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.6938, allocations: 28.78 kB / 0.7985 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.6947, allocations: 0.541 MB / 0.7991 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.6949, allocations: 0.7635 MB / 0.7998 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002026/0.6952, allocations: 56.72 kB / 0.7999 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6953, allocations: 49.8 kB / 0.7999 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of SimCode: time 8.22e-07/0.6953, allocations: 0 / 0.7999 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.01198/0.7073, allocations: 5.587 MB / 0.8054 GB, free: 41.09 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)