Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01529/0.01529, allocations: 112 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001811/0.001811, allocations: 183 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.978/1.978, allocations: 194.6 MB / 211.3 MB, free: 11.29 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.561/2.561, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004604, allocations: 8 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5443, allocations: 98.72 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001591/0.546, allocations: 1.317 MB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.5487, allocations: 1.76 MB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.5489, allocations: 5.094 kB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.549, allocations: 8.016 kB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.5492, allocations: 56.2 kB / 0.6864 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.5505, allocations: 360.7 kB / 0.6868 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.5508, allocations: 180.2 kB / 0.6869 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.138e-05/0.5509, allocations: 11.09 kB / 0.687 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.5512, allocations: 139.2 kB / 0.6871 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.5514, allocations: 133.9 kB / 0.6872 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.782e-05/0.5515, allocations: 12.62 kB / 0.6872 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008765/0.5524, allocations: 273.6 kB / 0.6875 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.5525, allocations: 52.81 kB / 0.6875 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.5526, allocations: 67.58 kB / 0.6876 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007537/0.5533, allocations: 377.9 kB / 0.688 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.672e-06/0.5534, allocations: 0 / 0.688 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.563e-06/0.5534, allocations: 0 / 0.688 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.5534, allocations: 4 kB / 0.688 GB, free: 13.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001426/0.5548, allocations: 0.6189 MB / 0.6886 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5549, allocations: 8.953 kB / 0.6886 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/0.555, allocations: 28.17 kB / 0.6886 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.5551, allocations: 183.8 kB / 0.6888 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.5553, allocations: 124.3 kB / 0.6889 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.5554, allocations: 21.98 kB / 0.6889 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.5558, allocations: 245.6 kB / 0.6892 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5559, allocations: 0.9375 kB / 0.6892 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.5559, allocations: 8 kB / 0.6892 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.5559, allocations: 5.906 kB / 0.6892 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.5563, allocations: 128.4 kB / 0.6893 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009564/0.5572, allocations: 0.9473 MB / 0.6902 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.559, allocations: 494.4 kB / 0.6907 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.5591, allocations: 17.67 kB / 0.6907 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005833/0.5597, allocations: 309.5 kB / 0.691 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 4.394e-06/0.5597, allocations: 0 / 0.691 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.001151/0.5608, allocations: 407.6 kB / 0.6914 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.561, allocations: 353.1 kB / 0.6917 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.5612, allocations: 174.5 kB / 0.6919 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.5612, allocations: 41.03 kB / 0.6919 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.5613, allocations: 103.3 kB / 0.692 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.5614, allocations: 118.8 kB / 0.6921 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.5615, allocations: 10.03 kB / 0.6922 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.5615, allocations: 339.1 kB / 0.6925 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.5619, allocations: 102.3 kB / 0.6926 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.5623, allocations: 178.8 kB / 0.6927 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.5628, allocations: 115 kB / 0.6929 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.491e-06/0.5628, allocations: 1.562 kB / 0.6929 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001102/0.5639, allocations: 366 kB / 0.6932 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5639, allocations: 9.484 kB / 0.6932 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.564, allocations: 2.766 kB / 0.6932 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.564, allocations: 4.625 kB / 0.6932 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.5645, allocations: 85.53 kB / 0.6933 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.5646, allocations: 7.578 kB / 0.6933 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.565, allocations: 62 kB / 0.6934 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.5651, allocations: 21.31 kB / 0.6934 GB, free: 9.691 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002112/0.5653, allocations: 150.9 kB / 0.6935 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.5654, allocations: 30.17 kB / 0.6936 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009317/0.5663, allocations: 365.5 kB / 0.6939 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.5664, allocations: 12.25 kB / 0.6939 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.5664, allocations: 3.625 kB / 0.6939 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.5664, allocations: 6.797 kB / 0.6939 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.5669, allocations: 345.3 kB / 0.6943 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.567, allocations: 7.781 kB / 0.6943 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.5674, allocations: 75.7 kB / 0.6943 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.5675, allocations: 5.062 kB / 0.6943 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.5675, allocations: 14.25 kB / 0.6944 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/0.5676, allocations: 10.14 kB / 0.6944 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.764e-06/0.5676, allocations: 4.031 kB / 0.6944 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.5686, allocations: 0.608 MB / 0.695 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.5688, allocations: 152.3 kB / 0.6951 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/0.5689, allocations: 16.48 kB / 0.6951 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.5693, allocations: 34.05 kB / 0.6952 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.5694, allocations: 61.11 kB / 0.6952 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.5695, allocations: 22.98 kB / 0.6952 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000137/0.5697, allocations: 137.3 kB / 0.6954 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.11e-07/0.5697, allocations: 0 / 0.6954 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008579/0.5705, allocations: 205.1 kB / 0.6956 GB, free: 8.254 MB / 0.5261 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000627/0.5712, allocations: 319.4 kB / 0.6959 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.5722, allocations: 315.8 kB / 0.6962 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.387e-06/0.5722, allocations: 0 / 0.6962 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.5727, allocations: 191.9 kB / 0.6964 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.573, allocations: 23.5 kB / 0.6964 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.5743, allocations: 0.644 MB / 0.697 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.5746, allocations: 0.7664 MB / 0.6978 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004172/0.575, allocations: 52.98 kB / 0.6978 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.5752, allocations: 47.17 kB / 0.6978 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of SimCode: time 1.87e-06/0.5752, allocations: 0 / 0.6978 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of Templates: time 0.01356/0.5888, allocations: 5.032 MB / 0.7028 GB, free: 4.668 MB / 0.5261 GB