Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.074/2.074, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 179.2 kB / 393.1 MB, free: 4.094 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.795/1.795, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008295/0.0008295, allocations: 94.84 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003952, allocations: 8 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.882/0.8824, allocations: 121.3 MB / 1.041 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001231/0.8837, allocations: 0.595 MB / 1.041 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.8873, allocations: 3.369 MB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.8874, allocations: 3.938 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.8874, allocations: 7.672 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.8877, allocations: 41.39 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.8887, allocations: 418.5 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.8891, allocations: 304.2 kB / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.8891, allocations: 11.94 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.8894, allocations: 134.8 kB / 1.046 GB, free: 54.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.8896, allocations: 144.3 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.8897, allocations: 12.5 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005951/0.8903, allocations: 285.4 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.8904, allocations: 59.98 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.8906, allocations: 140.2 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008617/0.8915, allocations: 0.5257 MB / 1.047 GB, free: 54.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.8915, allocations: 0 / 1.047 GB, free: 54.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8915, allocations: 2.219 kB / 1.047 GB, free: 54.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.8915, allocations: 0 / 1.047 GB, free: 54.35 MB / 0.698 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.001319/0.8928, allocations: 0.6357 MB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.8929, allocations: 10.22 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.893, allocations: 22.5 kB / 1.047 GB, free: 53.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.8931, allocations: 197.6 kB / 1.048 GB, free: 53.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.8933, allocations: 128.1 kB / 1.048 GB, free: 53.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.8933, allocations: 24.16 kB / 1.048 GB, free: 53.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.8937, allocations: 235.8 kB / 1.048 GB, free: 53.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.8937, allocations: 1.062 kB / 1.048 GB, free: 53.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.8938, allocations: 7 kB / 1.048 GB, free: 53.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.8938, allocations: 4.375 kB / 1.048 GB, free: 53.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.894, allocations: 116.8 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.8945, allocations: 401.2 kB / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.8959, allocations: 489.6 kB / 1.049 GB, free: 52.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.8961, allocations: 168 kB / 1.049 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.8962, allocations: 10.08 kB / 1.049 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000529/0.8967, allocations: 316.7 kB / 1.049 GB, free: 52.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.8967, allocations: 0 / 1.049 GB, free: 52.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0008447/0.8976, allocations: 408.8 kB / 1.05 GB, free: 52.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.8977, allocations: 357.4 kB / 1.05 GB, free: 51.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.8979, allocations: 171.6 kB / 1.05 GB, free: 51.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.898, allocations: 46.53 kB / 1.05 GB, free: 51.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.898, allocations: 92.34 kB / 1.05 GB, free: 51.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.8981, allocations: 113.8 kB / 1.051 GB, free: 51.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.8982, allocations: 10.12 kB / 1.051 GB, free: 51.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8983, allocations: 333.6 kB / 1.051 GB, free: 50.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.8986, allocations: 117 kB / 1.051 GB, free: 50.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.8989, allocations: 165.7 kB / 1.051 GB, free: 50.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.8994, allocations: 271.4 kB / 1.051 GB, free: 50.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8994, allocations: 0 / 1.051 GB, free: 50.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007439/0.9002, allocations: 369.2 kB / 1.052 GB, free: 50.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.9002, allocations: 5.406 kB / 1.052 GB, free: 50.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.9002, allocations: 2.766 kB / 1.052 GB, free: 50.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.9002, allocations: 3.688 kB / 1.052 GB, free: 50.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.9006, allocations: 83.86 kB / 1.052 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.9007, allocations: 1.344 kB / 1.052 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.901, allocations: 64.34 kB / 1.052 GB, free: 50.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.901, allocations: 19.84 kB / 1.052 GB, free: 50.5 MB / 0.698 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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.000144/0.9012, allocations: 148 kB / 1.052 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.9012, allocations: 27.88 kB / 1.052 GB, free: 50.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007121/0.9019, allocations: 358.1 kB / 1.052 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.902, allocations: 10.59 kB / 1.052 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.902, allocations: 3.062 kB / 1.052 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.902, allocations: 4.5 kB / 1.052 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.9024, allocations: 346.3 kB / 1.053 GB, free: 49.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.9024, allocations: 10.45 kB / 1.053 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.9027, allocations: 78.7 kB / 1.053 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.9027, allocations: 9.328 kB / 1.053 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.9027, allocations: 19.62 kB / 1.053 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.9028, allocations: 5.562 kB / 1.053 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9028, allocations: 3.938 kB / 1.053 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.9035, allocations: 496.3 kB / 1.053 GB, free: 49.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.9037, allocations: 147.5 kB / 1.054 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.9038, allocations: 17.08 kB / 1.054 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.904, allocations: 40.67 kB / 1.054 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.9042, allocations: 52.59 kB / 1.054 GB, free: 49.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.9042, allocations: 25.7 kB / 1.054 GB, free: 49.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001127/0.9043, allocations: 129.3 kB / 1.054 GB, free: 49.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9043, allocations: 0 / 1.054 GB, free: 49.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007506/0.9051, allocations: 212.1 kB / 1.054 GB, free: 49.27 MB / 0.698 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.0006403/0.9057, allocations: 331.4 kB / 1.054 GB, free: 49.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007104/0.9065, allocations: 331.7 kB / 1.055 GB, free: 49.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9065, allocations: 3.938 kB / 1.055 GB, free: 49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.9068, allocations: 186.8 kB / 1.055 GB, free: 48.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.9071, allocations: 33.28 kB / 1.055 GB, free: 48.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.9083, allocations: 0.6521 MB / 1.055 GB, free: 48.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.9086, allocations: 0.7602 MB / 1.056 GB, free: 47.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002511/0.9089, allocations: 57.38 kB / 1.056 GB, free: 47.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.909, allocations: 45.3 kB / 1.056 GB, free: 47.72 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.9091, allocations: 3.938 kB / 1.056 GB, free: 47.72 MB / 0.698 GB Notification: Performance of Templates: time 0.01089/0.92, allocations: 5.269 MB / 1.061 GB, free: 47.31 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)