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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01486/0.01486, allocations: 111 kB / 15.06 MB, free: 5.562 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.00185/0.00185, allocations: 181.3 kB / 15.95 MB, free: 5.523 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.908/1.908, allocations: 194.5 MB / 211.2 MB, free: 11.09 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.597/2.597, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007152/0.0007155, allocations: 12 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7296, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001566/0.7312, allocations: 1.325 MB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.7338, allocations: 1.759 MB / 0.6864 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.734, allocations: 1.531 kB / 0.6864 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.734, allocations: 8.25 kB / 0.6864 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.7343, allocations: 55.8 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.7354, allocations: 365.2 kB / 0.6868 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.7357, allocations: 179.6 kB / 0.6869 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.286e-05/0.7358, allocations: 15.08 kB / 0.6869 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.736, allocations: 139.2 kB / 0.6871 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.7363, allocations: 134.1 kB / 0.6872 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.7363, allocations: 11.44 kB / 0.6872 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006965/0.7371, allocations: 275 kB / 0.6875 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.7371, allocations: 49.02 kB / 0.6875 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.7372, allocations: 66.88 kB / 0.6876 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006969/0.7379, allocations: 374.1 kB / 0.688 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.597e-06/0.738, allocations: 0 / 0.688 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.303e-06/0.738, allocations: 4 kB / 0.688 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.593e-06/0.738, allocations: 1.375 kB / 0.688 GB, free: 13.93 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.001342/0.7393, allocations: 0.6167 MB / 0.6886 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.7394, allocations: 10.16 kB / 0.6886 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.7395, allocations: 23.47 kB / 0.6886 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.7396, allocations: 187.2 kB / 0.6888 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.7398, allocations: 129 kB / 0.6889 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.7398, allocations: 21.38 kB / 0.6889 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.7403, allocations: 248.9 kB / 0.6891 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.7403, allocations: 2.219 kB / 0.6892 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.7404, allocations: 12.02 kB / 0.6892 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.7404, allocations: 3.156 kB / 0.6892 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.7407, allocations: 130.6 kB / 0.6893 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009422/0.7417, allocations: 0.946 MB / 0.6902 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.7434, allocations: 494.4 kB / 0.6907 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.7434, allocations: 19.06 kB / 0.6907 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005555/0.744, allocations: 313.9 kB / 0.691 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 4.337e-06/0.744, allocations: 0 / 0.691 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.001143/0.7452, allocations: 397.6 kB / 0.6914 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.7453, allocations: 357.6 kB / 0.6917 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.7455, allocations: 174.1 kB / 0.6919 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.7456, allocations: 39.02 kB / 0.6919 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.7457, allocations: 104.8 kB / 0.692 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.7458, allocations: 114.5 kB / 0.6921 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.7458, allocations: 10.25 kB / 0.6921 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.7459, allocations: 330.7 kB / 0.6925 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.7463, allocations: 105.3 kB / 0.6926 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.7467, allocations: 179.5 kB / 0.6927 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.7471, allocations: 120.2 kB / 0.6928 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.036e-06/0.7471, allocations: 0.6562 kB / 0.6928 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001065/0.7482, allocations: 366.8 kB / 0.6932 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7482, allocations: 9.297 kB / 0.6932 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.637e-06/0.7482, allocations: 2.312 kB / 0.6932 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.7483, allocations: 4.594 kB / 0.6932 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.7488, allocations: 85.23 kB / 0.6933 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.7489, allocations: 5.156 kB / 0.6933 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.7493, allocations: 60.69 kB / 0.6934 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.7494, allocations: 21.48 kB / 0.6934 GB, free: 9.715 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.0002022/0.7496, allocations: 150.8 kB / 0.6935 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.7497, allocations: 29.34 kB / 0.6936 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008984/0.7506, allocations: 358.2 kB / 0.6939 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.7506, allocations: 13.41 kB / 0.6939 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.7506, allocations: 7.062 kB / 0.6939 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.7507, allocations: 6.391 kB / 0.6939 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.7511, allocations: 349.1 kB / 0.6943 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.728e-06/0.7512, allocations: 3.953 kB / 0.6943 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.7516, allocations: 75.22 kB / 0.6943 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.7516, allocations: 6.281 kB / 0.6943 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.7517, allocations: 22.62 kB / 0.6944 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.7517, allocations: 8.797 kB / 0.6944 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.508e-06/0.7517, allocations: 3.125 kB / 0.6944 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/0.7527, allocations: 0.6099 MB / 0.695 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.7529, allocations: 152.9 kB / 0.6951 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.68e-05/0.753, allocations: 16.5 kB / 0.6951 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.7533, allocations: 44.34 kB / 0.6952 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.7535, allocations: 50.38 kB / 0.6952 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/0.7535, allocations: 22.12 kB / 0.6952 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001297/0.7537, allocations: 137.3 kB / 0.6954 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-07/0.7537, allocations: 0 / 0.6954 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008491/0.7546, allocations: 210.3 kB / 0.6956 GB, free: 8.27 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.0006137/0.7552, allocations: 315.7 kB / 0.6959 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009276/0.7561, allocations: 312.6 kB / 0.6962 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.067e-06/0.7561, allocations: 0 / 0.6962 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.7566, allocations: 187.3 kB / 0.6963 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.7568, allocations: 27.28 kB / 0.6964 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.7581, allocations: 0.6371 MB / 0.697 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.7583, allocations: 0.7671 MB / 0.6977 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000381/0.7587, allocations: 52.83 kB / 0.6978 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.7589, allocations: 44.41 kB / 0.6978 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of SimCode: time 1.752e-06/0.7589, allocations: 0 / 0.6978 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of Templates: time 0.01261/0.7716, allocations: 5.028 MB / 0.7027 GB, free: 4.715 MB / 0.5261 GB