Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01392/0.01392, allocations: 88.5 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001737/0.001737, allocations: 174.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.261/2.261, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.387/2.387, allocations: 252.8 MB / 0.511 GB, free: 8.277 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005259, allocations: 11.12 kB / 0.6243 GB, free: 21.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.233, allocations: 106.2 MB / 0.7281 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002296/0.2354, allocations: 1.341 MB / 0.7294 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003802/0.2393, allocations: 1.774 MB / 0.7311 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2395, allocations: 0 / 0.7311 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 5.417e-05/0.2395, allocations: 15.86 kB / 0.7311 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.2398, allocations: 43.89 kB / 0.7312 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.2413, allocations: 366.9 kB / 0.7315 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.2417, allocations: 179.7 kB / 0.7317 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.022e-05/0.2418, allocations: 17.66 kB / 0.7317 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.2422, allocations: 143.6 kB / 0.7318 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.2425, allocations: 131.5 kB / 0.732 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.2425, allocations: 12 kB / 0.732 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.2436, allocations: 275.7 kB / 0.7322 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.2437, allocations: 51.86 kB / 0.7323 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.2439, allocations: 61.58 kB / 0.7324 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.2449, allocations: 379.4 kB / 0.7327 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2449, allocations: 4 kB / 0.7327 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2449, allocations: 0 / 0.7327 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.245, allocations: 3.938 kB / 0.7327 GB, free: 3.266 MB / 0.5573 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.002222/0.2472, allocations: 0.6264 MB / 0.7333 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.2473, allocations: 8.031 kB / 0.7333 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.897e-05/0.2474, allocations: 50.55 kB / 0.7334 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.351e-05/0.2475, allocations: 23.77 kB / 0.7334 GB, free: 2.504 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2477, allocations: 185.4 kB / 0.7336 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.2479, allocations: 126.8 kB / 0.7337 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.248, allocations: 19.98 kB / 0.7337 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.2486, allocations: 251.6 kB / 0.734 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2487, allocations: 8 kB / 0.734 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.2487, allocations: 4 kB / 0.734 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2487, allocations: 4 kB / 0.734 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.2492, allocations: 127.7 kB / 0.7341 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.2506, allocations: 0.9511 MB / 0.735 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.2532, allocations: 495.7 kB / 0.7355 GB, free: 56 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-05/0.2533, allocations: 11.98 kB / 0.7355 GB, free: 44 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006973/0.254, allocations: 311.9 kB / 0.7358 GB, free: 15.68 MB / 0.573 GB Notification: Performance of pre-optimization done (n=40): time 6.221e-06/0.2541, allocations: 0 / 0.7358 GB, free: 15.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=40): time 0.001354/0.2554, allocations: 405.8 kB / 0.7362 GB, free: 15.28 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002098/0.2557, allocations: 346.1 kB / 0.7365 GB, free: 14.86 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.2559, allocations: 173.6 kB / 0.7367 GB, free: 14.69 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.592e-05/0.256, allocations: 49.64 kB / 0.7368 GB, free: 14.63 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.2561, allocations: 104.9 kB / 0.7369 GB, free: 14.52 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.2563, allocations: 110.5 kB / 0.737 GB, free: 14.41 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.2564, allocations: 12 kB / 0.737 GB, free: 14.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2565, allocations: 330.8 kB / 0.7373 GB, free: 14.07 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.257, allocations: 105.1 kB / 0.7374 GB, free: 13.96 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.2575, allocations: 180.4 kB / 0.7376 GB, free: 13.77 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.258, allocations: 115.8 kB / 0.7377 GB, free: 13.66 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2581, allocations: 0 / 0.7377 GB, free: 13.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001331/0.2594, allocations: 369.8 kB / 0.738 GB, free: 13.29 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.2595, allocations: 7.953 kB / 0.738 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.2595, allocations: 7.938 kB / 0.738 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.951e-05/0.2596, allocations: 8 kB / 0.738 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/0.2603, allocations: 75.88 kB / 0.7381 GB, free: 13.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.2603, allocations: 4 kB / 0.7381 GB, free: 13.19 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.2609, allocations: 56.03 kB / 0.7382 GB, free: 13.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.261, allocations: 23.98 kB / 0.7382 GB, free: 13.11 MB / 0.573 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.0002602/0.2613, allocations: 157.7 kB / 0.7383 GB, free: 12.95 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.2614, allocations: 23.8 kB / 0.7384 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.2626, allocations: 369.9 kB / 0.7387 GB, free: 12.56 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.2626, allocations: 12 kB / 0.7387 GB, free: 12.55 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.2626, allocations: 4 kB / 0.7387 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.2626, allocations: 0 / 0.7387 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.2633, allocations: 353.1 kB / 0.7391 GB, free: 12.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.2633, allocations: 4.438 kB / 0.7391 GB, free: 12.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/0.2639, allocations: 67.91 kB / 0.7391 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/0.264, allocations: 8 kB / 0.7391 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.264, allocations: 23.98 kB / 0.7392 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/0.2641, allocations: 15.89 kB / 0.7392 GB, free: 12.03 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.2641, allocations: 4 kB / 0.7392 GB, free: 12.03 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.2654, allocations: 0.6097 MB / 0.7398 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.2657, allocations: 152.7 kB / 0.7399 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.2658, allocations: 16 kB / 0.7399 GB, free: 11.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.2663, allocations: 43.95 kB / 0.74 GB, free: 11.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.2665, allocations: 55.83 kB / 0.74 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.444e-05/0.2666, allocations: 23.98 kB / 0.7401 GB, free: 10.99 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001722/0.2667, allocations: 136.2 kB / 0.7402 GB, free: 10.86 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2667, allocations: 0 / 0.7402 GB, free: 10.86 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009972/0.2678, allocations: 203.8 kB / 0.7404 GB, free: 10.66 MB / 0.573 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.002647/0.2704, allocations: 2.103 MB / 0.7424 GB, free: 8.453 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.2717, allocations: 315.5 kB / 0.7427 GB, free: 8.148 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.2717, allocations: 4 kB / 0.7427 GB, free: 8.145 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005369/0.2723, allocations: 192.2 kB / 0.7429 GB, free: 7.957 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.2726, allocations: 16.19 kB / 0.7429 GB, free: 7.941 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.2754, allocations: 2.056 MB / 0.745 GB, free: 5.777 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.2759, allocations: 0.7691 MB / 0.7457 GB, free: 4.98 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000444/0.2763, allocations: 55.67 kB / 0.7458 GB, free: 4.93 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.2766, allocations: 95.39 kB / 0.7458 GB, free: 4.836 MB / 0.573 GB Notification: Performance of SimCode: time 1.212e-06/0.2767, allocations: 0 / 0.7458 GB, free: 4.836 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.3147, allocations: 7.179 MB / 0.7529 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003109/0.3151, allocations: 214.3 kB / 0.7531 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.037, allocations: 0 / 0.7531 GB, free: 13.54 MB / 0.5886 GB