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.238/2.238, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001613, allocations: 175.9 kB / 325.5 MB, free: 2.887 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.424/2.424, allocations: 205.4 MB / 0.5764 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 96.92 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004735, allocations: 12.25 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2077, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.4385, allocations: 133.3 MB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.4389, allocations: 71.95 kB / 1.029 GB, free: 11.91 MB / 0.6823 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.0568/0.4957, allocations: 10.34 MB / 1.039 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4957, allocations: 4 kB / 1.039 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.4958, allocations: 0 / 1.039 GB, free: 1.543 MB / 0.6823 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.002281/0.4981, allocations: 0.6366 MB / 1.04 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.4981, allocations: 8.031 kB / 1.04 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.4982, allocations: 46.55 kB / 1.04 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4984, allocations: 19.81 kB / 1.04 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.4986, allocations: 198.6 kB / 1.04 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.4988, allocations: 130.7 kB / 1.04 GB, free: 400 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.4989, allocations: 24 kB / 1.04 GB, free: 376 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.4996, allocations: 251.6 kB / 1.04 GB, free: 80 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.4996, allocations: 0 / 1.04 GB, free: 80 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/0.4997, allocations: 11.98 kB / 1.04 GB, free: 68 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.4997, allocations: 4 kB / 1.04 GB, free: 64 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.5002, allocations: 119.8 kB / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.5018, allocations: 0.951 MB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.5047, allocations: 495.6 kB / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.579e-05/0.5048, allocations: 8 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007274/0.5055, allocations: 312.6 kB / 1.042 GB, free: 13.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 5.54e-06/0.5056, allocations: 3.984 kB / 1.042 GB, free: 13.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001323/0.5069, allocations: 397 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002182/0.5071, allocations: 362.5 kB / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.5074, allocations: 159 kB / 1.043 GB, free: 12.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.5075, allocations: 41.7 kB / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.5076, allocations: 104.9 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.5077, allocations: 106.5 kB / 1.043 GB, free: 12.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.5078, allocations: 12 kB / 1.043 GB, free: 12.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5079, allocations: 330.8 kB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.5084, allocations: 109 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.509, allocations: 180.4 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.5095, allocations: 111.9 kB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5095, allocations: 0 / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001266/0.5108, allocations: 370 kB / 1.044 GB, free: 11.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.5108, allocations: 4 kB / 1.044 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5108, allocations: 4 kB / 1.044 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.5108, allocations: 11.94 kB / 1.044 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.5116, allocations: 71.89 kB / 1.045 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.5116, allocations: 7.984 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.5122, allocations: 60.67 kB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.5122, allocations: 19.98 kB / 1.045 GB, free: 11.38 MB / 0.698 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.0002581/0.5125, allocations: 157.7 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.5126, allocations: 27.72 kB / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.5139, allocations: 365.9 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.5139, allocations: 8 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.5139, allocations: 8.141 kB / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.5139, allocations: 7.984 kB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.5145, allocations: 357.1 kB / 1.046 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.5146, allocations: 4 kB / 1.046 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.5151, allocations: 67.91 kB / 1.046 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.5152, allocations: 4 kB / 1.046 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.5152, allocations: 23.92 kB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.5153, allocations: 11.92 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.5153, allocations: 8 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.5165, allocations: 0.602 MB / 1.046 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.5168, allocations: 152.5 kB / 1.046 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.5169, allocations: 16 kB / 1.046 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.5173, allocations: 44.22 kB / 1.046 GB, free: 9.336 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.5175, allocations: 51.83 kB / 1.046 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.5176, allocations: 27.98 kB / 1.047 GB, free: 9.258 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001599/0.5178, allocations: 131.8 kB / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5178, allocations: 0 / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009459/0.5187, allocations: 215.7 kB / 1.047 GB, free: 8.918 MB / 0.698 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.002639/0.5214, allocations: 2.121 MB / 1.049 GB, free: 6.695 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.5225, allocations: 315.8 kB / 1.049 GB, free: 6.387 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.5225, allocations: 3.938 kB / 1.049 GB, free: 6.383 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.523, allocations: 183.7 kB / 1.049 GB, free: 6.203 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.5233, allocations: 24.12 kB / 1.049 GB, free: 6.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.526, allocations: 2.053 MB / 1.051 GB, free: 4.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.5265, allocations: 0.7768 MB / 1.052 GB, free: 3.215 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004361/0.5269, allocations: 63.59 kB / 1.052 GB, free: 3.148 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.5272, allocations: 91.39 kB / 1.052 GB, free: 3.059 MB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/0.5273, allocations: 0 / 1.052 GB, free: 3.059 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6203/1.148, allocations: 6.823 MB / 1.059 GB, free: 149.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/1.148, allocations: 209.6 kB / 1.059 GB, free: 149.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/3.85, allocations: 2.125 kB / 1.059 GB, free: 149.4 MB / 0.698 GB