Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 297.4 MB / 312.6 MB, free: 2.91 MB / 234.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.001729/0.001729, allocations: 186 kB / 382.3 MB, free: 14.84 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.513/1.513, allocations: 225.7 MB / 0.6617 GB, free: 7.242 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009246, allocations: 94.47 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 8.875 kB / 0.9058 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7484/0.7488, allocations: 119.2 MB / 1.022 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001365/0.7502, allocations: 0.595 MB / 1.023 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005017/0.7553, allocations: 3.369 MB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.7555, allocations: 5.062 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.7555, allocations: 4.594 kB / 1.026 GB, free: 54.81 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.7559, allocations: 39.88 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.7573, allocations: 423 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.7577, allocations: 302.4 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.7578, allocations: 17.3 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.7581, allocations: 132.3 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.7583, allocations: 147.1 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.7584, allocations: 11.81 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006794/0.7591, allocations: 284.5 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.7592, allocations: 60.36 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.7593, allocations: 138.9 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.7602, allocations: 0.5384 MB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7602, allocations: 0 / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7602, allocations: 0 / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7602, allocations: 0 / 1.028 GB, free: 54.02 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.001356/0.7616, allocations: 0.6261 MB / 1.029 GB, free: 53.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.7616, allocations: 12.06 kB / 1.029 GB, free: 53.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.7617, allocations: 21.22 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.7618, allocations: 200.8 kB / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.762, allocations: 122 kB / 1.029 GB, free: 53.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.7621, allocations: 23.22 kB / 1.029 GB, free: 53.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.7624, allocations: 236.6 kB / 1.029 GB, free: 52.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.7625, allocations: 1.125 kB / 1.029 GB, free: 52.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.7625, allocations: 7.625 kB / 1.029 GB, free: 52.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.7625, allocations: 3.969 kB / 1.029 GB, free: 52.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.7628, allocations: 119.4 kB / 1.03 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.7632, allocations: 392.5 kB / 1.03 GB, free: 52.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.7645, allocations: 492.4 kB / 1.03 GB, free: 52.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.7648, allocations: 171.8 kB / 1.031 GB, free: 52.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.7648, allocations: 9.203 kB / 1.031 GB, free: 52.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/0.7653, allocations: 321.3 kB / 1.031 GB, free: 51.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.7653, allocations: 0 / 1.031 GB, free: 51.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0008319/0.7662, allocations: 410.1 kB / 1.031 GB, free: 51.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.7663, allocations: 355.2 kB / 1.032 GB, free: 51.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.7665, allocations: 173.4 kB / 1.032 GB, free: 51.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.7665, allocations: 38.42 kB / 1.032 GB, free: 51.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.7666, allocations: 96.11 kB / 1.032 GB, free: 51.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-05/0.7667, allocations: 113.4 kB / 1.032 GB, free: 50.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.7667, allocations: 8 kB / 1.032 GB, free: 50.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.7668, allocations: 328.9 kB / 1.032 GB, free: 50.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.767, allocations: 114.5 kB / 1.032 GB, free: 50.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.7673, allocations: 168.5 kB / 1.033 GB, free: 50.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.7679, allocations: 268.5 kB / 1.033 GB, free: 50.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7679, allocations: 0 / 1.033 GB, free: 50.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007395/0.7686, allocations: 378.5 kB / 1.033 GB, free: 50.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.7687, allocations: 12.98 kB / 1.033 GB, free: 50.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.7687, allocations: 4 kB / 1.033 GB, free: 50.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.7687, allocations: 0.9375 kB / 1.033 GB, free: 50.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.7691, allocations: 82.36 kB / 1.033 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.7691, allocations: 6.719 kB / 1.033 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.7694, allocations: 52.88 kB / 1.033 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.7695, allocations: 27.84 kB / 1.033 GB, free: 50.18 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.0001674/0.7697, allocations: 144 kB / 1.033 GB, free: 50.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.7697, allocations: 40.38 kB / 1.034 GB, free: 50.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006813/0.7704, allocations: 352.8 kB / 1.034 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.7704, allocations: 6.875 kB / 1.034 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.7705, allocations: 3.031 kB / 1.034 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.7705, allocations: 7.672 kB / 1.034 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.7709, allocations: 349.8 kB / 1.034 GB, free: 49.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.7709, allocations: 6.906 kB / 1.034 GB, free: 49.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.7712, allocations: 79.42 kB / 1.034 GB, free: 49.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.7712, allocations: 7.562 kB / 1.034 GB, free: 49.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.7712, allocations: 15.86 kB / 1.034 GB, free: 49.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.7713, allocations: 8.781 kB / 1.034 GB, free: 49.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7713, allocations: 7.141 kB / 1.034 GB, free: 49.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.7719, allocations: 493.1 kB / 1.035 GB, free: 49.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.7721, allocations: 155.7 kB / 1.035 GB, free: 49.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.7721, allocations: 20.3 kB / 1.035 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.7724, allocations: 40.86 kB / 1.035 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.7725, allocations: 46.47 kB / 1.035 GB, free: 49.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.7725, allocations: 22.61 kB / 1.035 GB, free: 49.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001081/0.7726, allocations: 126.6 kB / 1.035 GB, free: 49 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7727, allocations: 0 / 1.035 GB, free: 49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006769/0.7733, allocations: 219.9 kB / 1.035 GB, free: 48.93 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.000527/0.7739, allocations: 325.2 kB / 1.036 GB, free: 48.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006333/0.7745, allocations: 331.6 kB / 1.036 GB, free: 48.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7745, allocations: 0 / 1.036 GB, free: 48.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.7748, allocations: 184.6 kB / 1.036 GB, free: 48.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.7751, allocations: 32.5 kB / 1.036 GB, free: 48.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.7761, allocations: 0.6552 MB / 1.037 GB, free: 48.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.7763, allocations: 0.766 MB / 1.038 GB, free: 47.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.7766, allocations: 53.78 kB / 1.038 GB, free: 47.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.7767, allocations: 45.84 kB / 1.038 GB, free: 47.39 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.7767, allocations: 0 / 1.038 GB, free: 47.39 MB / 0.698 GB Notification: Performance of Templates: time 0.009923/0.7866, allocations: 5.256 MB / 1.043 GB, free: 47 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)