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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.961/1.961, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.001358/0.001359, allocations: 164.6 kB / 393.1 MB, free: 4.062 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.699/1.699, allocations: 225.7 MB / 0.6743 GB, free: 12.5 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.001281/0.001281, allocations: 105.6 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00054/0.0005407, allocations: 11.41 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.7851, allocations: 121.3 MB / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001076/0.7863, allocations: 0.5984 MB / 1.041 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003675/0.79, allocations: 3.369 MB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.7902, allocations: 3.938 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.7902, allocations: 6.656 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.7906, allocations: 38.86 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.792, allocations: 420.7 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.7924, allocations: 303.1 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.7925, allocations: 14.88 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.7928, allocations: 135.5 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.7931, allocations: 145.8 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.7932, allocations: 12.06 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007606/0.794, allocations: 286.3 kB / 1.046 GB, free: 54.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.7941, allocations: 60.62 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.7943, allocations: 135.6 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.7959, allocations: 0.5313 MB / 1.047 GB, free: 54.33 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.796, allocations: 0 / 1.047 GB, free: 54.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.925e-06/0.796, allocations: 1.062 kB / 1.047 GB, free: 54.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.796, allocations: 0 / 1.047 GB, free: 54.33 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.001601/0.7976, allocations: 0.6325 MB / 1.047 GB, free: 53.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.7977, allocations: 8.156 kB / 1.047 GB, free: 53.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.03e-05/0.7978, allocations: 21.83 kB / 1.047 GB, free: 53.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.798, allocations: 201.6 kB / 1.048 GB, free: 53.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.7982, allocations: 127.1 kB / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.7982, allocations: 23.86 kB / 1.048 GB, free: 53.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.7986, allocations: 236.9 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.7987, allocations: 3.344 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.7987, allocations: 9.25 kB / 1.048 GB, free: 53.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.7987, allocations: 5.344 kB / 1.048 GB, free: 53.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.799, allocations: 113.3 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.7995, allocations: 399.2 kB / 1.048 GB, free: 52.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.8009, allocations: 491.3 kB / 1.049 GB, free: 52.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.8011, allocations: 173.1 kB / 1.049 GB, free: 52.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.8012, allocations: 7.703 kB / 1.049 GB, free: 52.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005208/0.8017, allocations: 314 kB / 1.049 GB, free: 52.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.8017, allocations: 0 / 1.049 GB, free: 52.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0008691/0.8026, allocations: 410.2 kB / 1.05 GB, free: 52.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.8028, allocations: 354.7 kB / 1.05 GB, free: 51.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.8029, allocations: 169 kB / 1.05 GB, free: 51.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.803, allocations: 41.12 kB / 1.05 GB, free: 51.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.8031, allocations: 95.23 kB / 1.05 GB, free: 51.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.8032, allocations: 113.6 kB / 1.051 GB, free: 51.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.8032, allocations: 11.78 kB / 1.051 GB, free: 51.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8033, allocations: 330.2 kB / 1.051 GB, free: 50.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.8036, allocations: 113.5 kB / 1.051 GB, free: 50.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.8039, allocations: 169.1 kB / 1.051 GB, free: 50.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.8045, allocations: 273.2 kB / 1.051 GB, free: 50.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8045, allocations: 0 / 1.051 GB, free: 50.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006912/0.8052, allocations: 367 kB / 1.052 GB, free: 50.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.8052, allocations: 5.438 kB / 1.052 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.8052, allocations: 6.5 kB / 1.052 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.8052, allocations: 1.406 kB / 1.052 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.8056, allocations: 80.06 kB / 1.052 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.8056, allocations: 4.219 kB / 1.052 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.8059, allocations: 61.55 kB / 1.052 GB, free: 50.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.806, allocations: 23.55 kB / 1.052 GB, free: 50.49 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.000151/0.8061, allocations: 151.6 kB / 1.052 GB, free: 50.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.8062, allocations: 27.72 kB / 1.052 GB, free: 50.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.8069, allocations: 356 kB / 1.052 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.8069, allocations: 8.562 kB / 1.052 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.8069, allocations: 3.562 kB / 1.052 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.807, allocations: 9.812 kB / 1.052 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.8073, allocations: 349 kB / 1.053 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.8074, allocations: 7.875 kB / 1.053 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.8077, allocations: 80.11 kB / 1.053 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.8077, allocations: 4.844 kB / 1.053 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.8078, allocations: 19.27 kB / 1.053 GB, free: 49.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.8078, allocations: 8.281 kB / 1.053 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.8078, allocations: 3.625 kB / 1.053 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.8085, allocations: 0.4897 MB / 1.053 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.8086, allocations: 152.3 kB / 1.054 GB, free: 49.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.8087, allocations: 16.78 kB / 1.054 GB, free: 49.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.809, allocations: 37.94 kB / 1.054 GB, free: 49.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.8091, allocations: 53.12 kB / 1.054 GB, free: 49.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.8091, allocations: 20.64 kB / 1.054 GB, free: 49.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.81e-05/0.8092, allocations: 128.6 kB / 1.054 GB, free: 49.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.8092, allocations: 0 / 1.054 GB, free: 49.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006818/0.8099, allocations: 216.5 kB / 1.054 GB, free: 49.25 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.0005658/0.8105, allocations: 327.1 kB / 1.054 GB, free: 49.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006702/0.8112, allocations: 327.6 kB / 1.055 GB, free: 48.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8112, allocations: 0 / 1.055 GB, free: 48.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.8115, allocations: 184.5 kB / 1.055 GB, free: 48.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.8118, allocations: 32.78 kB / 1.055 GB, free: 48.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009835/0.8128, allocations: 0.6563 MB / 1.055 GB, free: 48.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.813, allocations: 0.7605 MB / 1.056 GB, free: 47.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000228/0.8133, allocations: 54.86 kB / 1.056 GB, free: 47.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.8134, allocations: 52 kB / 1.056 GB, free: 47.71 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/0.8134, allocations: 0 / 1.056 GB, free: 47.71 MB / 0.698 GB Notification: Performance of Templates: time 0.009359/0.8228, allocations: 5.285 MB / 1.061 GB, free: 47.29 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)