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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01311/0.01311, allocations: 222.5 kB / 15.17 MB, free: 5.922 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.001221/0.001221, allocations: 180 kB / 16.06 MB, free: 5.828 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 3.909/3.909, allocations: 389.1 MB / 405.9 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.667/4.667, allocations: 472.3 MB / 0.9017 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005387/0.000539, allocations: 12 kB / 1.008 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2188, allocations: 98.71 MB / 1.104 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002199/0.221, allocations: 1.37 MB / 1.105 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003805/0.2249, allocations: 1.854 MB / 1.107 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.225, allocations: 3.938 kB / 1.107 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.2251, allocations: 11.91 kB / 1.107 GB, free: 496 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.2254, allocations: 43.67 kB / 1.107 GB, free: 452 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2268, allocations: 374.7 kB / 1.108 GB, free: 76 kB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.2272, allocations: 251.3 kB / 1.108 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.2273, allocations: 17.67 kB / 1.108 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.2276, allocations: 123.6 kB / 1.108 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.2279, allocations: 131.6 kB / 1.108 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.228, allocations: 12 kB / 1.108 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009713/0.229, allocations: 275.5 kB / 1.108 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.2291, allocations: 55.84 kB / 1.109 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 9.366e-05/0.2292, allocations: 65.56 kB / 1.109 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0007586/0.2299, allocations: 375.3 kB / 1.109 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.23, allocations: 0 / 1.109 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.174e-06/0.23, allocations: 0 / 1.109 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.23, allocations: 0 / 1.109 GB, free: 14.79 MB / 0.7605 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.002064/0.2321, allocations: 0.6224 MB / 1.11 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.2321, allocations: 8.031 kB / 1.11 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.2322, allocations: 50.55 kB / 1.11 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.2323, allocations: 23.8 kB / 1.11 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.2325, allocations: 190 kB / 1.11 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.2328, allocations: 130.8 kB / 1.11 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.2329, allocations: 16 kB / 1.11 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.2334, allocations: 247.8 kB / 1.11 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.2335, allocations: 7.938 kB / 1.11 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.2335, allocations: 11.92 kB / 1.11 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.2335, allocations: 4 kB / 1.11 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.2339, allocations: 115.8 kB / 1.11 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.2353, allocations: 0.9588 MB / 1.111 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.238, allocations: 491.1 kB / 1.112 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.2384, allocations: 154.4 kB / 1.112 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.2385, allocations: 15.97 kB / 1.112 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007244/0.2392, allocations: 319.9 kB / 1.112 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=40): time 4.538e-06/0.2393, allocations: 0 / 1.112 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.001401/0.2407, allocations: 401.5 kB / 1.113 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000205/0.2409, allocations: 350.6 kB / 1.113 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.2412, allocations: 175.2 kB / 1.113 GB, free: 10 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-05/0.2413, allocations: 41.7 kB / 1.113 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.2414, allocations: 112.9 kB / 1.113 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.2415, allocations: 106.5 kB / 1.113 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.2416, allocations: 12 kB / 1.113 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2417, allocations: 330.8 kB / 1.114 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.2422, allocations: 105.1 kB / 1.114 GB, free: 9.293 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.2427, allocations: 180.4 kB / 1.114 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.2432, allocations: 115.9 kB / 1.114 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2433, allocations: 0 / 1.114 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001308/0.2446, allocations: 372.9 kB / 1.114 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.2446, allocations: 8 kB / 1.114 GB, free: 8.602 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2446, allocations: 0 / 1.114 GB, free: 8.602 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.2447, allocations: 7.953 kB / 1.114 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.2454, allocations: 79.88 kB / 1.114 GB, free: 8.516 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.2454, allocations: 4 kB / 1.114 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.2461, allocations: 55.66 kB / 1.115 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.2461, allocations: 27.92 kB / 1.115 GB, free: 8.43 MB / 0.7605 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.0002718/0.2464, allocations: 158.1 kB / 1.115 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.2465, allocations: 19.81 kB / 1.115 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.2477, allocations: 367 kB / 1.115 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.2478, allocations: 15.92 kB / 1.115 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.2478, allocations: 7.953 kB / 1.115 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.2478, allocations: 4 kB / 1.115 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.2485, allocations: 353.1 kB / 1.115 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.2485, allocations: 0 / 1.115 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/0.2491, allocations: 71.91 kB / 1.116 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/0.2491, allocations: 8 kB / 1.116 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.2492, allocations: 20.36 kB / 1.116 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/0.2492, allocations: 11.94 kB / 1.116 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.2492, allocations: 0 / 1.116 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.2506, allocations: 489.5 kB / 1.116 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.2511, allocations: 156.5 kB / 1.116 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.2513, allocations: 19.98 kB / 1.116 GB, free: 6.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/0.2522, allocations: 35.98 kB / 1.116 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.2525, allocations: 55.83 kB / 1.116 GB, free: 6.543 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.2526, allocations: 23.98 kB / 1.116 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002667/0.2529, allocations: 135.2 kB / 1.116 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2529, allocations: 4 kB / 1.116 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001747/0.2547, allocations: 199.8 kB / 1.117 GB, free: 6.188 MB / 0.7605 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.003883/0.2586, allocations: 1.243 MB / 1.118 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.2605, allocations: 311.6 kB / 1.118 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.2606, allocations: 0 / 1.118 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009896/0.2616, allocations: 187.7 kB / 1.118 GB, free: 4.391 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.2624, allocations: 34.73 kB / 1.118 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/0.2688, allocations: 1.524 MB / 1.12 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.2693, allocations: 0.7652 MB / 1.121 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006824/0.27, allocations: 63.67 kB / 1.121 GB, free: 1.887 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/0.2705, allocations: 91.39 kB / 1.121 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of SimCode: time 1.533e-06/0.2705, allocations: 0 / 1.121 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.3168, allocations: 7.233 MB / 1.128 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.3171, allocations: 229 kB / 1.128 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/3.278, allocations: 0 / 1.128 GB, free: 10.47 MB / 0.7761 GB