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.001226/0.001226, allocations: 107.4 kB / 16.37 MB, free: 6.262 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.001223/0.001224, allocations: 189.9 kB / 17.3 MB, free: 5.848 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.712/1.712, allocations: 205.1 MB / 223.2 MB, free: 12.19 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.952/1.952, allocations: 292.3 MB / 0.5496 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.001699/0.001699, allocations: 63.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3078, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.003378/0.3112, allocations: 0.915 MB / 0.7857 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5682/0.8795, allocations: 2.508 MB / 0.7881 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.8801, allocations: 5 kB / 0.7882 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.635e-05/0.8802, allocations: 13.31 kB / 0.7882 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.8806, allocations: 49.98 kB / 0.7882 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.8828, allocations: 0.4944 MB / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.8833, allocations: 312.2 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.8834, allocations: 15.56 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.8837, allocations: 143.7 kB / 0.7891 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.884, allocations: 155.6 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.8841, allocations: 23.62 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009367/0.8851, allocations: 371 kB / 0.7897 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.8852, allocations: 68.14 kB / 0.7897 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.8854, allocations: 123.2 kB / 0.7899 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009244/0.8863, allocations: 0.5428 MB / 0.7904 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.8863, allocations: 0 / 0.7904 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8864, allocations: 6 kB / 0.7904 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.8864, allocations: 0 / 0.7904 GB, free: 46.38 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.001512/0.8879, allocations: 0.6642 MB / 0.791 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.888, allocations: 8.375 kB / 0.791 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.8881, allocations: 22.16 kB / 0.7911 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.8882, allocations: 196.8 kB / 0.7913 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.8884, allocations: 125.8 kB / 0.7914 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.8885, allocations: 20.62 kB / 0.7914 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.8889, allocations: 240.4 kB / 0.7916 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.8889, allocations: 0.8125 kB / 0.7916 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.8889, allocations: 8.156 kB / 0.7916 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.889, allocations: 9.688 kB / 0.7916 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.8892, allocations: 125.2 kB / 0.7918 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.8897, allocations: 388.7 kB / 0.7921 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.8912, allocations: 493.2 kB / 0.7926 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.8914, allocations: 162.4 kB / 0.7928 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.8915, allocations: 7.953 kB / 0.7928 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006581/0.8922, allocations: 318.2 kB / 0.7931 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.8922, allocations: 9.625 kB / 0.7931 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.000903/0.8931, allocations: 410 kB / 0.7935 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.8932, allocations: 351.5 kB / 0.7938 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.8934, allocations: 166.1 kB / 0.794 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.8934, allocations: 37.77 kB / 0.794 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.8935, allocations: 106.4 kB / 0.7941 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.404e-05/0.8936, allocations: 108.3 kB / 0.7942 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.8937, allocations: 98.03 kB / 0.7943 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8938, allocations: 333.7 kB / 0.7946 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.8941, allocations: 117.7 kB / 0.7947 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.8944, allocations: 169 kB / 0.7949 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.8949, allocations: 265.9 kB / 0.7951 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.895, allocations: 3.281 kB / 0.7951 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007502/0.8957, allocations: 370.5 kB / 0.7955 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.8958, allocations: 10.84 kB / 0.7955 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.8958, allocations: 3.688 kB / 0.7955 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.77e-05/0.8958, allocations: 7.5 kB / 0.7955 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.8962, allocations: 81.47 kB / 0.7956 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.8963, allocations: 3.375 kB / 0.7956 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.8966, allocations: 51.23 kB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.8966, allocations: 20.12 kB / 0.7957 GB, free: 43.39 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.000164/0.8968, allocations: 157.6 kB / 0.7958 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.8968, allocations: 21.97 kB / 0.7958 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006772/0.8975, allocations: 359.2 kB / 0.7962 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.8976, allocations: 6.484 kB / 0.7962 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.8976, allocations: 3.5 kB / 0.7962 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.8978, allocations: 153.3 kB / 0.7963 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.8978, allocations: 17.12 kB / 0.7964 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.8981, allocations: 30.5 kB / 0.7964 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.8982, allocations: 54.19 kB / 0.7964 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001144/0.8994, allocations: 1.355 MB / 0.7978 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009541/0.9003, allocations: 1.387 MB / 0.7991 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000249/0.9006, allocations: 159.5 kB / 0.7993 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.871e-05/0.9007, allocations: 136.9 kB / 0.7994 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of Backend: time 4.2e-07/0.9007, allocations: 0 / 0.7994 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.9033, allocations: 495.4 kB / 0.7999 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0009508/0.9043, allocations: 0.8062 MB / 0.8007 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.01569/0.92, allocations: 5.79 MB / 0.8063 GB, free: 39.9 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)