Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 102.5 kB / 16.27 MB, free: 6.418 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.001123/0.001123, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.522/1.522, allocations: 205.1 MB / 223.1 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.813/1.813, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.002293/0.002293, allocations: 63.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3022, allocations: 114.6 MB / 0.784 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.003083/0.3053, allocations: 0.8999 MB / 0.7849 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004541/0.3099, allocations: 2.522 MB / 0.7874 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.3101, allocations: 3.938 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.52e-05/0.3102, allocations: 11.81 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.3106, allocations: 43.62 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4787/0.7893, allocations: 0.5026 MB / 0.7879 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.7898, allocations: 309.2 kB / 0.7882 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.87e-05/0.7898, allocations: 13.55 kB / 0.7882 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.7901, allocations: 146.4 kB / 0.7884 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.7903, allocations: 152.7 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.7903, allocations: 23.59 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000654/0.791, allocations: 309.2 kB / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.791, allocations: 65.59 kB / 0.7889 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.7912, allocations: 120.3 kB / 0.789 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006387/0.7918, allocations: 0.5436 MB / 0.7895 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.7918, allocations: 0 / 0.7895 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7918, allocations: 2.875 kB / 0.7895 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.7918, allocations: 0 / 0.7895 GB, free: 45.87 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.001216/0.7931, allocations: 0.6648 MB / 0.7902 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.7931, allocations: 10.5 kB / 0.7902 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.7932, allocations: 20.75 kB / 0.7902 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.7933, allocations: 198.8 kB / 0.7904 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.7934, allocations: 126.8 kB / 0.7905 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.7935, allocations: 22.53 kB / 0.7906 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.7938, allocations: 240.4 kB / 0.7908 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.7938, allocations: 0 / 0.7908 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.7938, allocations: 7.156 kB / 0.7908 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.7938, allocations: 5.25 kB / 0.7908 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.794, allocations: 117.4 kB / 0.7909 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.7944, allocations: 397.9 kB / 0.7913 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.7957, allocations: 492.6 kB / 0.7918 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.7959, allocations: 156.1 kB / 0.7919 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.7959, allocations: 12.14 kB / 0.7919 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.7964, allocations: 318.5 kB / 0.7922 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.264e-06/0.7964, allocations: 0 / 0.7922 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0007286/0.7971, allocations: 422.7 kB / 0.7926 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.7972, allocations: 354.9 kB / 0.793 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.7973, allocations: 166.6 kB / 0.7931 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.7974, allocations: 38.2 kB / 0.7932 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.7974, allocations: 98.94 kB / 0.7933 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/0.7975, allocations: 112.1 kB / 0.7934 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.7976, allocations: 94.47 kB / 0.7935 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.7977, allocations: 337.9 kB / 0.7938 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.7979, allocations: 112.8 kB / 0.7939 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.7982, allocations: 173.2 kB / 0.7941 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.7986, allocations: 266.3 kB / 0.7943 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7987, allocations: 0 / 0.7943 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000635/0.7993, allocations: 373 kB / 0.7947 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7993, allocations: 12.34 kB / 0.7947 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7993, allocations: 0 / 0.7947 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.7994, allocations: 3.469 kB / 0.7947 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.7997, allocations: 81.44 kB / 0.7948 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.7997, allocations: 4.109 kB / 0.7948 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.8, allocations: 57.97 kB / 0.7948 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.8001, allocations: 15.94 kB / 0.7948 GB, free: 42.89 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.0001247/0.8002, allocations: 163 kB / 0.795 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.8002, allocations: 30.5 kB / 0.795 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005903/0.8008, allocations: 360.3 kB / 0.7954 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.8009, allocations: 7 kB / 0.7954 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.8009, allocations: 5.938 kB / 0.7954 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.8009, allocations: 6.781 kB / 0.7954 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.8012, allocations: 347.1 kB / 0.7957 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8012, allocations: 0 / 0.7957 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.8015, allocations: 77.78 kB / 0.7958 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.8015, allocations: 3.438 kB / 0.7958 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.8015, allocations: 22.69 kB / 0.7958 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.8015, allocations: 4.562 kB / 0.7958 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.8016, allocations: 7.375 kB / 0.7958 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.8021, allocations: 0.4912 MB / 0.7963 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.8023, allocations: 150.2 kB / 0.7964 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.8023, allocations: 19.78 kB / 0.7965 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.8025, allocations: 29.98 kB / 0.7965 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.8027, allocations: 53.89 kB / 0.7965 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.8027, allocations: 23.91 kB / 0.7966 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.362e-05/0.8028, allocations: 134.6 kB / 0.7967 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8028, allocations: 0 / 0.7967 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000611/0.8034, allocations: 217.9 kB / 0.7969 GB, free: 42.06 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.0004849/0.8039, allocations: 324.8 kB / 0.7972 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006148/0.8045, allocations: 362.6 kB / 0.7976 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8045, allocations: 0.5625 kB / 0.7976 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.8048, allocations: 185.3 kB / 0.7977 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.8051, allocations: 30.38 kB / 0.7978 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.8059, allocations: 0.5801 MB / 0.7983 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.8061, allocations: 0.7599 MB / 0.7991 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.8062, allocations: 52.11 kB / 0.7991 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.8062, allocations: 2.531 kB / 0.7991 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.00967/0.8159, allocations: 5.223 MB / 0.8042 GB, free: 40.38 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)