Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.318/2.318, allocations: 248.7 MB / 256.2 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 184.4 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 88.02 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.499e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2241, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8989/1.123, allocations: 133.5 MB / 1.014 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/1.124, allocations: 74.58 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB [/home/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.06338/1.187, allocations: 10.27 MB / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.533e-06/1.187, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.252e-05/1.187, allocations: 4 kB / 1.025 GB, free: 12.44 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.001861/1.189, allocations: 0.6102 MB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.189, allocations: 8.031 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/1.189, allocations: 27.72 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/1.189, allocations: 198.6 kB / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/1.189, allocations: 11.98 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/1.189, allocations: 12 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003457/1.19, allocations: 90.47 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/1.19, allocations: 226.2 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/1.19, allocations: 4 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/1.19, allocations: 3.688 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/1.19, allocations: 8 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/1.191, allocations: 0.9142 MB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/1.194, allocations: 469.6 kB / 1.027 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/1.194, allocations: 137.6 kB / 1.027 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-05/1.194, allocations: 19.92 kB / 1.027 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/1.195, allocations: 288.7 kB / 1.028 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 3.677e-06/1.195, allocations: 0 / 1.028 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.003685/1.199, allocations: 0.4904 MB / 1.028 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/1.199, allocations: 349.6 kB / 1.028 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/1.199, allocations: 153.7 kB / 1.028 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/1.199, allocations: 37.31 kB / 1.029 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/1.199, allocations: 100.5 kB / 1.029 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.199, allocations: 112.9 kB / 1.029 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/1.199, allocations: 7.562 kB / 1.029 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.2, allocations: 326.1 kB / 1.029 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/1.2, allocations: 88.86 kB / 1.029 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/1.2, allocations: 158.1 kB / 1.029 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004713/1.205, allocations: 446.6 kB / 1.03 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.205, allocations: 0 / 1.03 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005286/1.21, allocations: 0.6464 MB / 1.03 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.21, allocations: 8 kB / 1.03 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.21, allocations: 0 / 1.03 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/1.21, allocations: 4 kB / 1.03 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/1.211, allocations: 71.52 kB / 1.03 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.211, allocations: 4 kB / 1.03 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/1.212, allocations: 55.61 kB / 1.03 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/1.212, allocations: 22.73 kB / 1.03 GB, free: 6.387 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): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0001865/1.212, allocations: 120 kB / 1.031 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003522/1.215, allocations: 0.4975 MB / 1.031 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/1.215, allocations: 27.91 kB / 1.031 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/1.216, allocations: 324.9 kB / 1.031 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/1.216, allocations: 11.95 kB / 1.031 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.217, allocations: 4 kB / 1.031 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/1.217, allocations: 7.984 kB / 1.031 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/1.217, allocations: 299.3 kB / 1.032 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.217, allocations: 3.938 kB / 1.032 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/1.218, allocations: 75.53 kB / 1.032 GB, free: 5.148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/1.218, allocations: 8 kB / 1.032 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/1.218, allocations: 11.36 kB / 1.032 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.314e-05/1.218, allocations: 12.44 kB / 1.032 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.218, allocations: 0 / 1.032 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003998/1.222, allocations: 0.7871 MB / 1.033 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/1.222, allocations: 147 kB / 1.033 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/1.222, allocations: 11.44 kB / 1.033 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/1.223, allocations: 31.97 kB / 1.033 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/1.223, allocations: 48.89 kB / 1.033 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/1.223, allocations: 27.61 kB / 1.033 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001418/1.223, allocations: 128.9 kB / 1.033 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.223, allocations: 0 / 1.033 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00106/1.224, allocations: 199.4 kB / 1.033 GB, free: 3.754 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.005238/1.229, allocations: 2.272 MB / 1.035 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002589/1.232, allocations: 2.978 MB / 1.038 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.232, allocations: 0 / 1.038 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005275/1.233, allocations: 164.5 kB / 1.038 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/1.233, allocations: 15.12 kB / 1.038 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/1.235, allocations: 0.5307 MB / 1.039 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/1.236, allocations: 0.7728 MB / 1.04 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004035/1.236, allocations: 51.98 kB / 1.04 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/1.236, allocations: 92.08 kB / 1.04 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of SimCode: time 1.112e-06/1.236, allocations: 0 / 1.04 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04402/1.28, allocations: 6.754 MB / 1.046 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/1.281, allocations: 173.1 kB / 1.047 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/4.007, allocations: 2.812 kB / 1.047 GB, free: 6.008 MB / 0.6667 GB