Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 267.6 MB, free: 10.92 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.001021/0.001021, allocations: 179.6 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0007458/0.0007459, allocations: 97.86 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003154, allocations: 11.47 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2019, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.0008283/0.2027, allocations: 0.5996 MB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.2049, allocations: 2.414 MB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.205, allocations: 3.938 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.205, allocations: 3.938 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.2052, allocations: 47.69 kB / 0.9038 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.2059, allocations: 402.8 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.2061, allocations: 271.1 kB / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.2061, allocations: 21.61 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2063, allocations: 131.6 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.2064, allocations: 143.5 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.2065, allocations: 12 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.2069, allocations: 279.8 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.2069, allocations: 59.78 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.207, allocations: 57.64 kB / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.2073, allocations: 407.3 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2073, allocations: 0 / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2074, allocations: 4 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.2074, allocations: 0 / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001141/0.2085, allocations: 0.6332 MB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2086, allocations: 11.97 kB / 0.9062 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.2086, allocations: 19.81 kB / 0.9062 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.377e-05/0.2087, allocations: 195.4 kB / 0.9064 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.2089, allocations: 126.8 kB / 0.9065 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.2089, allocations: 20 kB / 0.9065 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.2092, allocations: 231.7 kB / 0.9067 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2092, allocations: 3.984 kB / 0.9067 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.2092, allocations: 8 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2092, allocations: 8 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2094, allocations: 111.7 kB / 0.9069 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.2098, allocations: 407 kB / 0.9073 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.211, allocations: 0.4954 MB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.2111, allocations: 146.3 kB / 0.9079 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.2112, allocations: 15.94 kB / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.2115, allocations: 312.2 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 1.774e-06/0.2116, allocations: 0 / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006556/0.2122, allocations: 410.4 kB / 0.9086 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.2123, allocations: 358.1 kB / 0.9089 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2125, allocations: 166.1 kB / 0.9091 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.2125, allocations: 41.7 kB / 0.9091 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.2125, allocations: 89.14 kB / 0.9092 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.2126, allocations: 118.4 kB / 0.9093 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.2126, allocations: 8 kB / 0.9093 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.2127, allocations: 338.8 kB / 0.9097 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.2129, allocations: 113 kB / 0.9098 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.2132, allocations: 168.9 kB / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.2134, allocations: 118 kB / 0.91 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2135, allocations: 0 / 0.91 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005959/0.2141, allocations: 384.6 kB / 0.9104 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2141, allocations: 4 kB / 0.9104 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2141, allocations: 4 kB / 0.9104 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2141, allocations: 0 / 0.9104 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.2145, allocations: 79.81 kB / 0.9105 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.2145, allocations: 4 kB / 0.9105 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.2148, allocations: 59.66 kB / 0.9105 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.2148, allocations: 19.98 kB / 0.9106 GB, free: 53.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.0001216/0.2149, allocations: 158.5 kB / 0.9107 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.215, allocations: 27.7 kB / 0.9107 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.2155, allocations: 358 kB / 0.9111 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.2156, allocations: 8 kB / 0.9111 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.2156, allocations: 4 kB / 0.9111 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2156, allocations: 7.984 kB / 0.9111 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.2159, allocations: 349.1 kB / 0.9114 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2159, allocations: 8 kB / 0.9114 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.2161, allocations: 75.84 kB / 0.9115 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.2162, allocations: 4 kB / 0.9115 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.2162, allocations: 15.98 kB / 0.9115 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2162, allocations: 4.312 kB / 0.9115 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2162, allocations: 4 kB / 0.9115 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.2168, allocations: 0.4978 MB / 0.912 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.2169, allocations: 148.5 kB / 0.9122 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.217, allocations: 23.98 kB / 0.9122 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.2172, allocations: 39.97 kB / 0.9122 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.2173, allocations: 51.83 kB / 0.9123 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.2173, allocations: 20 kB / 0.9123 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.679e-05/0.2174, allocations: 135.7 kB / 0.9124 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2174, allocations: 3.938 kB / 0.9124 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005339/0.218, allocations: 215.7 kB / 0.9126 GB, free: 51.07 MB / 0.6042 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,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.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.0004597/0.2184, allocations: 329 kB / 0.913 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.219, allocations: 324.6 kB / 0.9133 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.219, allocations: 4 kB / 0.9133 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.2192, allocations: 183.7 kB / 0.9134 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.2195, allocations: 34.2 kB / 0.9135 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.2203, allocations: 0.6561 MB / 0.9141 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.2205, allocations: 0.7614 MB / 0.9149 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.2206, allocations: 47.41 kB / 0.9149 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2206, allocations: 0 / 0.9149 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.006344/0.227, allocations: 5.205 MB / 0.92 GB, free: 43.49 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)