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.01166/0.01166, allocations: 106.4 kB / 15.06 MB, free: 6.023 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.00177/0.001769, allocations: 181.8 kB / 15.95 MB, free: 5.957 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.9/1.9, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.242/2.242, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004867, allocations: 20 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6732, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.00193/0.6752, allocations: 1.327 MB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003378/0.6786, allocations: 1.762 MB / 0.6865 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.6787, allocations: 1.062 kB / 0.6865 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.6788, allocations: 11.58 kB / 0.6865 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.6791, allocations: 47.8 kB / 0.6865 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.6805, allocations: 369.1 kB / 0.6869 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.6808, allocations: 175.9 kB / 0.687 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.6809, allocations: 15.45 kB / 0.6871 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.6812, allocations: 136.2 kB / 0.6872 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.6815, allocations: 137.2 kB / 0.6873 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.6816, allocations: 15.75 kB / 0.6873 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008793/0.6825, allocations: 270 kB / 0.6876 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.6826, allocations: 57.03 kB / 0.6876 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.6827, allocations: 62.89 kB / 0.6877 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008321/0.6835, allocations: 374.2 kB / 0.6881 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.6835, allocations: 0 / 0.6881 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6835, allocations: 1.125 kB / 0.6881 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6836, allocations: 0 / 0.6881 GB, free: 13.98 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.001893/0.6855, allocations: 0.6176 MB / 0.6887 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.6855, allocations: 9.688 kB / 0.6887 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.824e-05/0.6856, allocations: 52.25 kB / 0.6887 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.223e-05/0.6857, allocations: 28.3 kB / 0.6887 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.6858, allocations: 179.7 kB / 0.6889 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.686, allocations: 132.4 kB / 0.689 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.6861, allocations: 21.92 kB / 0.6891 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.6866, allocations: 245.5 kB / 0.6893 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.6866, allocations: 1.312 kB / 0.6893 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.6867, allocations: 6.672 kB / 0.6893 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.6867, allocations: 4.875 kB / 0.6893 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.6871, allocations: 122.1 kB / 0.6894 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.6882, allocations: 0.9514 MB / 0.6904 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.6906, allocations: 497.2 kB / 0.6908 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.6906, allocations: 10.81 kB / 0.6908 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006177/0.6913, allocations: 312.4 kB / 0.6911 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.367e-06/0.6913, allocations: 1.062 kB / 0.6911 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.001281/0.6926, allocations: 404.2 kB / 0.6915 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.6927, allocations: 365.4 kB / 0.6919 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.6929, allocations: 170.8 kB / 0.692 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.693, allocations: 40.5 kB / 0.6921 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.6931, allocations: 103.7 kB / 0.6922 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.6932, allocations: 114.4 kB / 0.6923 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.6932, allocations: 10.16 kB / 0.6923 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.6933, allocations: 335.2 kB / 0.6926 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.6938, allocations: 100.8 kB / 0.6927 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.6943, allocations: 176.2 kB / 0.6929 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.6947, allocations: 114.8 kB / 0.693 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.6948, 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.001206/0.696, allocations: 374.9 kB / 0.6933 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.696, allocations: 9.672 kB / 0.6934 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.696, allocations: 2.094 kB / 0.6934 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.6961, allocations: 5.922 kB / 0.6934 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.6968, allocations: 76.94 kB / 0.6934 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.6968, allocations: 8.156 kB / 0.6934 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.6974, allocations: 62.09 kB / 0.6935 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.6975, allocations: 21.89 kB / 0.6935 GB, free: 9.727 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.000192/0.6977, allocations: 153.4 kB / 0.6937 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.6978, allocations: 25.98 kB / 0.6937 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.6988, allocations: 364.5 kB / 0.694 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.6989, allocations: 9.375 kB / 0.6941 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.6989, allocations: 3.812 kB / 0.6941 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.6989, allocations: 9.453 kB / 0.6941 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.6994, allocations: 349.3 kB / 0.6944 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6995, allocations: 3.219 kB / 0.6944 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.7, allocations: 71.58 kB / 0.6945 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.7001, allocations: 5.984 kB / 0.6945 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.7001, allocations: 18.3 kB / 0.6945 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/0.7001, allocations: 14.47 kB / 0.6945 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.7002, allocations: 3.859 kB / 0.6945 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.7012, allocations: 0.6085 MB / 0.6951 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.7015, allocations: 152.9 kB / 0.6953 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.7016, allocations: 16.11 kB / 0.6953 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.702, allocations: 37.61 kB / 0.6953 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.7022, allocations: 57.31 kB / 0.6954 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.7023, allocations: 22.77 kB / 0.6954 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001384/0.7024, allocations: 136.5 kB / 0.6955 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.8e-07/0.7024, allocations: 0 / 0.6955 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009415/0.7034, allocations: 211.1 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.002093/0.7055, allocations: 2.121 MB / 0.6978 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.7066, allocations: 312.1 kB / 0.6981 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7066, allocations: 0 / 0.6981 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.7071, allocations: 178.8 kB / 0.6982 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.7074, allocations: 27.39 kB / 0.6983 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.7095, allocations: 2.067 MB / 0.7003 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.7098, allocations: 0.7669 MB / 0.701 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004302/0.7102, allocations: 56.58 kB / 0.7011 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.7105, allocations: 97.11 kB / 0.7012 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of SimCode: time 9.81e-07/0.7105, allocations: 0 / 0.7012 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.7454, allocations: 7.203 MB / 0.7082 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.7457, allocations: 210.5 kB / 0.7084 GB, free: 264 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/3.334, allocations: 0 / 0.7084 GB, free: 264 kB / 0.5261 GB