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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01113/0.01114, allocations: 106.2 kB / 15.06 MB, free: 5.555 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.001625/0.001625, allocations: 178.2 kB / 15.95 MB, free: 5.52 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.913/1.913, allocations: 194.5 MB / 211.2 MB, free: 10.96 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.23/2.23, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004682, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/0.6668, allocations: 98.72 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001961/0.6688, allocations: 1.323 MB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003344/0.6722, allocations: 1.758 MB / 0.6865 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.6724, allocations: 1.562 kB / 0.6865 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.425e-05/0.6724, allocations: 11.91 kB / 0.6865 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.6727, allocations: 47 kB / 0.6865 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.6743, allocations: 370.4 kB / 0.6869 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.6747, allocations: 170.6 kB / 0.687 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.6747, allocations: 15.31 kB / 0.687 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.6751, allocations: 148.2 kB / 0.6872 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.6754, allocations: 129.5 kB / 0.6873 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.6754, allocations: 15.8 kB / 0.6873 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.6765, allocations: 269.4 kB / 0.6876 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.6766, allocations: 61.22 kB / 0.6876 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.6767, allocations: 62.47 kB / 0.6877 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009119/0.6776, allocations: 370.5 kB / 0.688 GB, free: 14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6776, allocations: 0.7812 kB / 0.688 GB, free: 14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6776, allocations: 0 / 0.688 GB, free: 14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.6776, allocations: 4 kB / 0.6881 GB, free: 13.99 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.001996/0.6796, allocations: 0.6183 MB / 0.6887 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6797, allocations: 8.906 kB / 0.6887 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.6798, allocations: 48.25 kB / 0.6887 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/0.6799, allocations: 32.78 kB / 0.6887 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.68, allocations: 187.2 kB / 0.6889 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.6802, allocations: 131.4 kB / 0.689 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.6803, allocations: 18.47 kB / 0.6891 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.6808, allocations: 244.6 kB / 0.6893 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.6809, allocations: 5.375 kB / 0.6893 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.6809, allocations: 8.297 kB / 0.6893 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.6809, allocations: 4.406 kB / 0.6893 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.6813, allocations: 129.9 kB / 0.6894 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.6824, allocations: 0.9465 MB / 0.6904 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.6849, allocations: 493.6 kB / 0.6908 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.685, allocations: 19 kB / 0.6909 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006342/0.6856, allocations: 305.4 kB / 0.6911 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 4.328e-06/0.6857, allocations: 0 / 0.6911 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.001277/0.687, allocations: 402.5 kB / 0.6915 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.6871, allocations: 353.6 kB / 0.6919 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.6873, allocations: 172.4 kB / 0.692 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/0.6874, allocations: 39.94 kB / 0.6921 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.6875, allocations: 103.5 kB / 0.6922 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.6876, allocations: 118.9 kB / 0.6923 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.6877, allocations: 14.72 kB / 0.6923 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.6877, allocations: 330.2 kB / 0.6926 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.6882, allocations: 106 kB / 0.6927 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.6887, allocations: 179.5 kB / 0.6929 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.6892, allocations: 119.8 kB / 0.693 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.6892, allocations: 1.062 kB / 0.693 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001232/0.6904, allocations: 370.6 kB / 0.6933 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.6905, allocations: 9.359 kB / 0.6934 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.6905, allocations: 2.156 kB / 0.6934 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.6905, allocations: 8.516 kB / 0.6934 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.6913, allocations: 86.67 kB / 0.6934 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.6913, allocations: 5.094 kB / 0.6935 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.6919, allocations: 56.98 kB / 0.6935 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.692, allocations: 17.59 kB / 0.6935 GB, free: 9.73 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.000237/0.6922, allocations: 155.1 kB / 0.6937 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.6923, allocations: 29.95 kB / 0.6937 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.6934, allocations: 359.5 kB / 0.694 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.6935, allocations: 12.75 kB / 0.6941 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.6935, allocations: 5.016 kB / 0.6941 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.6935, allocations: 4.844 kB / 0.6941 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.6941, allocations: 350.4 kB / 0.6944 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.6941, allocations: 6.625 kB / 0.6944 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.6947, allocations: 72.5 kB / 0.6945 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.6947, allocations: 5.438 kB / 0.6945 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.6948, allocations: 18.25 kB / 0.6945 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.6948, allocations: 10.14 kB / 0.6945 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.6948, allocations: 6.094 kB / 0.6945 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.696, allocations: 0.61 MB / 0.6951 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.6962, allocations: 152.5 kB / 0.6953 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.6963, allocations: 16.88 kB / 0.6953 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.6968, allocations: 40.92 kB / 0.6953 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.697, allocations: 53.31 kB / 0.6954 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.6971, allocations: 23.44 kB / 0.6954 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001495/0.6972, allocations: 136.9 kB / 0.6955 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6972, allocations: 0 / 0.6955 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009826/0.6982, allocations: 209.9 kB / 0.6957 GB, free: 8.281 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.002254/0.7005, allocations: 2.112 MB / 0.6978 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.7017, allocations: 317.1 kB / 0.6981 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7017, allocations: 0 / 0.6981 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000517/0.7022, allocations: 186.4 kB / 0.6983 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.7025, allocations: 27.89 kB / 0.6983 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.7049, allocations: 2.059 MB / 0.7003 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.7052, allocations: 0.762 MB / 0.701 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004374/0.7057, allocations: 60.77 kB / 0.7011 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.706, allocations: 93.22 kB / 0.7012 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/0.706, allocations: 0 / 0.7012 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.7434, allocations: 7.203 MB / 0.7082 GB, free: 448 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.7437, allocations: 213.9 kB / 0.7084 GB, free: 204 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.297, allocations: 4 kB / 0.7084 GB, free: 200 kB / 0.5261 GB