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.SunRiseSet.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.SunRiseSet,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01317/0.01318, allocations: 107.4 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.002131/0.002131, allocations: 184.7 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.927/1.927, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.236/2.236, allocations: 236.1 MB / 492.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 8 kB / 0.587 GB, free: 1.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6516, allocations: 98.72 MB / 0.6835 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001914/0.6536, allocations: 1.319 MB / 0.6847 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003314/0.6569, allocations: 1.757 MB / 0.6865 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.6571, allocations: 0 / 0.6865 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.6572, allocations: 13.72 kB / 0.6865 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.6574, allocations: 48.09 kB / 0.6865 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.6589, allocations: 369.1 kB / 0.6869 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.6593, allocations: 175.5 kB / 0.687 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.6594, allocations: 15.14 kB / 0.687 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.6597, allocations: 135.6 kB / 0.6872 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.66, allocations: 136.8 kB / 0.6873 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.6601, allocations: 12.97 kB / 0.6873 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000967/0.6611, allocations: 277.4 kB / 0.6876 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.902e-05/0.6612, allocations: 52.92 kB / 0.6876 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.369e-05/0.6613, allocations: 66.61 kB / 0.6877 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009359/0.6622, allocations: 374.7 kB / 0.6881 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6622, allocations: 0 / 0.6881 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6622, allocations: 0.5625 kB / 0.6881 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.6623, allocations: 1.062 kB / 0.6881 GB, free: 14.05 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.001964/0.6642, allocations: 0.6172 MB / 0.6887 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.6643, allocations: 9.984 kB / 0.6887 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.405e-05/0.6644, allocations: 50.97 kB / 0.6887 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.267e-05/0.6645, allocations: 28.69 kB / 0.6887 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.6646, allocations: 184.2 kB / 0.6889 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.6648, allocations: 128.6 kB / 0.689 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.6649, allocations: 21.56 kB / 0.6891 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.6654, allocations: 241.8 kB / 0.6893 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.6654, allocations: 5.062 kB / 0.6893 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.6655, allocations: 6.891 kB / 0.6893 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.6655, allocations: 4.688 kB / 0.6893 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.6659, allocations: 125.9 kB / 0.6894 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.667, allocations: 0.9551 MB / 0.6904 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.6695, allocations: 493.7 kB / 0.6908 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.6696, allocations: 14.34 kB / 0.6908 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006536/0.6703, allocations: 309.1 kB / 0.6911 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.917e-06/0.6703, allocations: 1.562 kB / 0.6911 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.00132/0.6716, allocations: 405.6 kB / 0.6915 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.6717, allocations: 349.7 kB / 0.6919 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.672, allocations: 171.6 kB / 0.692 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.672, allocations: 39.16 kB / 0.6921 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.6721, allocations: 104.5 kB / 0.6922 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.6722, allocations: 123.7 kB / 0.6923 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.6723, allocations: 9.562 kB / 0.6923 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.6724, allocations: 334.3 kB / 0.6926 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.6728, allocations: 102.2 kB / 0.6927 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.6733, allocations: 176.5 kB / 0.6929 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.6738, allocations: 119.2 kB / 0.693 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.6738, allocations: 1.125 kB / 0.693 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001228/0.6751, allocations: 365.2 kB / 0.6933 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.6751, allocations: 10.77 kB / 0.6934 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6751, allocations: 2.062 kB / 0.6934 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.6751, allocations: 4.562 kB / 0.6934 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/0.6759, allocations: 93.14 kB / 0.6934 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.6759, allocations: 4.5 kB / 0.6935 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.6765, allocations: 58.47 kB / 0.6935 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.6766, allocations: 21.33 kB / 0.6935 GB, free: 9.789 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.0002213/0.6768, allocations: 154.3 kB / 0.6937 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.6769, allocations: 29.41 kB / 0.6937 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.678, allocations: 358.1 kB / 0.694 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.6781, allocations: 13 kB / 0.6941 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.6781, allocations: 3.156 kB / 0.6941 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.6781, allocations: 6.812 kB / 0.6941 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.6787, allocations: 349.4 kB / 0.6944 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.6787, allocations: 6.828 kB / 0.6944 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.6793, allocations: 71.67 kB / 0.6945 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.6794, allocations: 5.969 kB / 0.6945 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/0.6794, allocations: 14.89 kB / 0.6945 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.6794, allocations: 10.02 kB / 0.6945 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.6795, allocations: 6.719 kB / 0.6945 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.6806, allocations: 0.6133 MB / 0.6951 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.6808, allocations: 152 kB / 0.6953 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.6809, allocations: 16.33 kB / 0.6953 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.6814, allocations: 33.69 kB / 0.6953 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.6816, allocations: 57.92 kB / 0.6954 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.6817, allocations: 22.58 kB / 0.6954 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001515/0.6818, allocations: 132.7 kB / 0.6955 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.333e-06/0.6818, allocations: 0 / 0.6955 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001012/0.6829, allocations: 213.5 kB / 0.6957 GB, free: 8.348 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.002293/0.6852, allocations: 2.108 MB / 0.6978 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.6864, allocations: 319.9 kB / 0.6981 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6864, allocations: 0.75 kB / 0.6981 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.6869, allocations: 186.9 kB / 0.6983 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.6872, allocations: 26.83 kB / 0.6983 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.6895, allocations: 2.061 MB / 0.7003 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.6898, allocations: 0.7641 MB / 0.701 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004266/0.6902, allocations: 60.34 kB / 0.7011 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.6905, allocations: 97.12 kB / 0.7012 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/0.6905, allocations: 0 / 0.7012 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04253/0.733, allocations: 7.169 MB / 0.7082 GB, free: 456 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.7333, allocations: 190.3 kB / 0.7084 GB, free: 216 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.294, allocations: 0 / 0.7084 GB, free: 216 kB / 0.5261 GB