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.SunRiseSet.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.SunRiseSet,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",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.01007/0.01007, allocations: 89.69 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.001152/0.001152, allocations: 175.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 1.95/1.95, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.327/2.327, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.0006318, allocations: 11.72 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2656, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002469/0.2681, allocations: 1.337 MB / 0.7294 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003948/0.2721, allocations: 1.774 MB / 0.7311 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.2723, allocations: 0 / 0.7311 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.2724, allocations: 15.8 kB / 0.7311 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.2727, allocations: 51.83 kB / 0.7312 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.2743, allocations: 363 kB / 0.7315 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.2747, allocations: 175.7 kB / 0.7317 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.2748, allocations: 13.67 kB / 0.7317 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.2752, allocations: 143.6 kB / 0.7318 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.2755, allocations: 135.5 kB / 0.732 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.2756, allocations: 12 kB / 0.732 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.2766, allocations: 271.7 kB / 0.7322 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.2767, allocations: 59.78 kB / 0.7323 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.2768, allocations: 57.64 kB / 0.7324 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009953/0.2778, allocations: 379.4 kB / 0.7327 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2778, allocations: 4 kB / 0.7327 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2779, allocations: 0 / 0.7327 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2779, allocations: 4 kB / 0.7327 GB, free: 5.359 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.002043/0.2799, allocations: 0.6225 MB / 0.7333 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.28, allocations: 8.031 kB / 0.7333 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.767e-05/0.2801, allocations: 50.55 kB / 0.7334 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/0.2802, allocations: 23.77 kB / 0.7334 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.2804, allocations: 186.8 kB / 0.7336 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.2806, allocations: 126.8 kB / 0.7337 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.2807, allocations: 16 kB / 0.7337 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.2813, allocations: 255.5 kB / 0.734 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/0.2813, allocations: 4 kB / 0.734 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.2814, allocations: 8 kB / 0.734 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.2814, allocations: 8 kB / 0.734 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.2818, allocations: 123.7 kB / 0.7341 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.2832, allocations: 0.9511 MB / 0.735 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.2858, allocations: 491.6 kB / 0.7355 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/0.2859, allocations: 11.98 kB / 0.7355 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/0.2866, allocations: 308 kB / 0.7358 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=40): time 3.196e-06/0.2866, allocations: 4 kB / 0.7358 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of matching and sorting (n=40): time 0.001359/0.288, allocations: 401.7 kB / 0.7362 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/0.2882, allocations: 346.1 kB / 0.7365 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.2885, allocations: 176.4 kB / 0.7367 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.2886, allocations: 41.64 kB / 0.7367 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2887, allocations: 112.9 kB / 0.7368 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.2889, allocations: 114.4 kB / 0.737 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.2889, allocations: 12 kB / 0.737 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2891, allocations: 330.8 kB / 0.7373 GB, free: 172 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/0.2896, allocations: 105.1 kB / 0.7374 GB, free: 64 kB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.2902, allocations: 176.5 kB / 0.7375 GB, free: 15.87 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.2907, allocations: 123.9 kB / 0.7377 GB, free: 15.75 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.2907, allocations: 0 / 0.7377 GB, free: 15.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001376/0.2921, allocations: 373.1 kB / 0.738 GB, free: 15.38 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.2921, allocations: 7.953 kB / 0.738 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2922, allocations: 4 kB / 0.738 GB, free: 15.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.2922, allocations: 8 kB / 0.738 GB, free: 15.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.2929, allocations: 75.88 kB / 0.7381 GB, free: 15.28 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.293, allocations: 4 kB / 0.7381 GB, free: 15.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.2936, allocations: 55.66 kB / 0.7382 GB, free: 15.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/0.2936, allocations: 19.98 kB / 0.7382 GB, free: 15.2 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.0002463/0.2939, allocations: 161.7 kB / 0.7383 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.294, allocations: 23.8 kB / 0.7384 GB, free: 15.01 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.2952, allocations: 375.1 kB / 0.7387 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.2952, allocations: 8 kB / 0.7387 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.2952, allocations: 4.25 kB / 0.7387 GB, free: 14.63 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.2953, allocations: 3.984 kB / 0.7387 GB, free: 14.63 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.2959, allocations: 353 kB / 0.7391 GB, free: 14.24 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.2959, allocations: 4 kB / 0.7391 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.2965, allocations: 67.91 kB / 0.7391 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.2966, allocations: 11.98 kB / 0.7392 GB, free: 14.16 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.2966, allocations: 16 kB / 0.7392 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.515e-05/0.2967, allocations: 15.89 kB / 0.7392 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.2967, allocations: 4 kB / 0.7392 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.298, allocations: 0.6097 MB / 0.7398 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.2983, allocations: 152.5 kB / 0.7399 GB, free: 13.22 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.2984, allocations: 16 kB / 0.7399 GB, free: 13.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.2989, allocations: 43.97 kB / 0.74 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.2991, allocations: 51.83 kB / 0.74 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/0.2991, allocations: 23.98 kB / 0.7401 GB, free: 13.09 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001709/0.2993, allocations: 136.2 kB / 0.7402 GB, free: 12.96 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2993, allocations: 0 / 0.7402 GB, free: 12.96 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008897/0.3002, allocations: 199.8 kB / 0.7404 GB, free: 12.76 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.002801/0.3031, allocations: 2.108 MB / 0.7424 GB, free: 10.55 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.3043, allocations: 320.1 kB / 0.7427 GB, free: 10.24 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3043, allocations: 4 kB / 0.7427 GB, free: 10.23 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005402/0.3049, allocations: 180.2 kB / 0.7429 GB, free: 10.06 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.3052, allocations: 20.19 kB / 0.7429 GB, free: 10.04 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.3079, allocations: 2.06 MB / 0.745 GB, free: 7.871 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.3083, allocations: 0.7729 MB / 0.7457 GB, free: 7.07 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004376/0.3088, allocations: 54.88 kB / 0.7458 GB, free: 7.02 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.3091, allocations: 95.39 kB / 0.7458 GB, free: 6.926 MB / 0.573 GB Notification: Performance of SimCode: time 8.51e-07/0.3091, allocations: 0 / 0.7458 GB, free: 6.926 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08684/0.396, allocations: 7.154 MB / 0.7528 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.3964, allocations: 197.2 kB / 0.753 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.118, allocations: 0 / 0.753 GB, free: 15.64 MB / 0.5886 GB