Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.275/2.275, allocations: 252.6 MB / 265.2 MB, free: 5.695 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 175.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.423/2.423, allocations: 205.4 MB / 0.5754 GB, free: 10.47 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00154/0.001541, allocations: 104.4 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.597e-05/5.596e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2521, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9127/1.165, allocations: 133.2 MB / 1.025 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.165, allocations: 72.39 kB / 1.025 GB, free: 1.305 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54:32:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.05745/1.223, allocations: 10.32 MB / 1.035 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.833e-06/1.223, allocations: 0 / 1.035 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.428e-06/1.223, allocations: 4 kB / 1.035 GB, free: 8.355 MB / 0.6511 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.001922/1.225, allocations: 0.6084 MB / 1.036 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.225, allocations: 12.03 kB / 1.036 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/1.225, allocations: 27.72 kB / 1.036 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/1.225, allocations: 190.6 kB / 1.036 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/1.225, allocations: 132.5 kB / 1.036 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/1.225, allocations: 18.98 kB / 1.036 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/1.226, allocations: 243.4 kB / 1.036 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/1.226, allocations: 3.938 kB / 1.036 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/1.226, allocations: 7.438 kB / 1.036 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/1.226, allocations: 4 kB / 1.036 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/1.227, allocations: 112.7 kB / 1.036 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/1.228, allocations: 0.9485 MB / 1.037 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/1.231, allocations: 499 kB / 1.038 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/1.231, allocations: 157.2 kB / 1.038 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.769e-05/1.231, allocations: 4 kB / 1.038 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006541/1.232, allocations: 313.9 kB / 1.038 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 4.077e-06/1.232, allocations: 0 / 1.038 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001063/1.233, allocations: 308 kB / 1.039 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000217/1.233, allocations: 361.6 kB / 1.039 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/1.233, allocations: 156.7 kB / 1.039 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/1.233, allocations: 42.88 kB / 1.039 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/1.234, allocations: 102.8 kB / 1.039 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/1.234, allocations: 115 kB / 1.039 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/1.234, allocations: 6.938 kB / 1.039 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.234, allocations: 330.4 kB / 1.04 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/1.234, allocations: 93.48 kB / 1.04 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/1.235, allocations: 172.1 kB / 1.04 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/1.235, allocations: 111.6 kB / 1.04 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.235, allocations: 0 / 1.04 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001041/1.236, allocations: 352.7 kB / 1.04 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.236, allocations: 8 kB / 1.04 GB, free: 3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.236, allocations: 0.5469 kB / 1.04 GB, free: 3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.236, allocations: 11.95 kB / 1.04 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/1.237, allocations: 79.38 kB / 1.04 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/1.237, allocations: 4 kB / 1.04 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/1.238, allocations: 57.84 kB / 1.041 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/1.238, allocations: 19.92 kB / 1.041 GB, free: 2.844 MB / 0.6511 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 () * 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.0002074/1.238, allocations: 142.5 kB / 1.041 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/1.238, allocations: 27.7 kB / 1.041 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/1.239, allocations: 355.1 kB / 1.041 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/1.239, allocations: 12 kB / 1.041 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.239, allocations: 7.953 kB / 1.041 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.239, allocations: 7.984 kB / 1.041 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/1.24, allocations: 350.5 kB / 1.041 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.24, allocations: 7.938 kB / 1.041 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/1.241, allocations: 70.39 kB / 1.041 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/1.241, allocations: 8 kB / 1.041 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/1.241, allocations: 14.94 kB / 1.042 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/1.241, allocations: 7.938 kB / 1.042 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.241, allocations: 7.984 kB / 1.042 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/1.242, allocations: 0.6028 MB / 1.042 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/1.242, allocations: 146.5 kB / 1.042 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.959e-05/1.242, allocations: 22.61 kB / 1.042 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/1.243, allocations: 35.09 kB / 1.042 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/1.243, allocations: 63.2 kB / 1.042 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/1.243, allocations: 19.06 kB / 1.042 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001655/1.243, allocations: 131.9 kB / 1.043 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.5e-07/1.243, allocations: 0 / 1.043 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000971/1.244, allocations: 216.5 kB / 1.043 GB, free: 0.7461 MB / 0.6511 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) * 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.0008494/1.245, allocations: 320.3 kB / 1.043 GB, free: 452 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.246, allocations: 308 kB / 1.043 GB, free: 220 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.246, allocations: 0 / 1.043 GB, free: 220 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/1.247, allocations: 180.6 kB / 1.043 GB, free: 76 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/1.247, allocations: 25.45 kB / 1.044 GB, free: 64 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/1.248, allocations: 444.3 kB / 1.044 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/1.249, allocations: 0.765 MB / 1.045 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004714/1.249, allocations: 55.58 kB / 1.045 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/1.25, allocations: 41.73 kB / 1.045 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of SimCode: time 1.583e-06/1.25, allocations: 0 / 1.045 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of Templates: time 0.01538/1.265, allocations: 4.693 MB / 1.049 GB, free: 10.09 MB / 0.6667 GB