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.SunRiseSetNegativeStartTime.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.27/2.27, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001331/0.00133, allocations: 178.4 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.811/2.811, allocations: 205.4 MB / 0.5767 GB, free: 20.74 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.000956/0.0009555, allocations: 90.77 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004921, allocations: 11.44 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 106.2 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001938/0.2075, allocations: 1.376 MB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.2108, allocations: 1.883 MB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.2111, allocations: 3.938 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.2111, allocations: 7.922 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.2114, allocations: 47.67 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.2127, allocations: 370.9 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.213, allocations: 259.2 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.801e-05/0.2131, allocations: 13.67 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.2134, allocations: 131.6 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.2136, allocations: 131.6 kB / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.2137, allocations: 12 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008282/0.2145, allocations: 267.7 kB / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.2146, allocations: 55.84 kB / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.2147, allocations: 61.58 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006691/0.2154, allocations: 383.4 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2154, allocations: 0 / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2154, allocations: 0 / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2154, allocations: 0 / 0.9039 GB, free: 60.4 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001862/0.2173, allocations: 0.6226 MB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.2174, allocations: 12.03 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.7e-05/0.2175, allocations: 24.75 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.2176, allocations: 184.1 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.2178, allocations: 123.4 kB / 0.9048 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.2179, allocations: 24.36 kB / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.2183, allocations: 251.8 kB / 0.9051 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2184, allocations: 3.938 kB / 0.9051 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.2184, allocations: 8 kB / 0.9051 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2184, allocations: 4 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.2188, allocations: 115.8 kB / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2199, allocations: 0.955 MB / 0.9062 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.2223, allocations: 499.2 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.2226, allocations: 154.3 kB / 0.9068 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.2227, allocations: 7.984 kB / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005804/0.2233, allocations: 316.4 kB / 0.9071 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 3.617e-06/0.2233, allocations: 0 / 0.9071 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001147/0.2245, allocations: 393 kB / 0.9075 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.2246, allocations: 354.1 kB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2248, allocations: 176.4 kB / 0.908 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.2249, allocations: 49.62 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.2249, allocations: 101 kB / 0.9081 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.225, allocations: 122.4 kB / 0.9082 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.2251, allocations: 8 kB / 0.9082 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.2252, allocations: 338.7 kB / 0.9086 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.2256, allocations: 105 kB / 0.9087 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.2261, allocations: 176.4 kB / 0.9088 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.2265, allocations: 111.9 kB / 0.9089 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2265, allocations: 0 / 0.9089 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001575/0.2281, allocations: 373.1 kB / 0.9093 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.2282, allocations: 9.25 kB / 0.9093 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.2282, allocations: 7.984 kB / 0.9093 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/0.2283, allocations: 4.938 kB / 0.9093 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.2294, allocations: 71.88 kB / 0.9094 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.2294, allocations: 4 kB / 0.9094 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/0.2303, allocations: 67.5 kB / 0.9094 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.962e-05/0.2305, allocations: 23.98 kB / 0.9095 GB, free: 54.1 MB / 0.6042 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.0003431/0.2308, allocations: 161.7 kB / 0.9096 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.231, allocations: 19.81 kB / 0.9096 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.2329, allocations: 371.1 kB / 0.91 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.2329, allocations: 8 kB / 0.91 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.233, allocations: 4 kB / 0.91 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.233, allocations: 7.922 kB / 0.91 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000863/0.2339, allocations: 349.1 kB / 0.9103 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.2339, allocations: 4 kB / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009662/0.2349, allocations: 71.89 kB / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.746e-05/0.235, allocations: 8 kB / 0.9104 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.2351, allocations: 20 kB / 0.9104 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.25e-05/0.2351, allocations: 11.92 kB / 0.9105 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.2352, allocations: 4 kB / 0.9105 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.2367, allocations: 493.5 kB / 0.9109 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.237, allocations: 144.6 kB / 0.9111 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.2372, allocations: 16 kB / 0.9111 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/0.2379, allocations: 39.97 kB / 0.9111 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/0.2382, allocations: 55.81 kB / 0.9112 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/0.2383, allocations: 27.98 kB / 0.9112 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002127/0.2385, allocations: 123.7 kB / 0.9113 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2386, allocations: 0 / 0.9113 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00137/0.24, allocations: 211.7 kB / 0.9115 GB, free: 51.86 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,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.001086/0.2411, allocations: 306.1 kB / 0.9118 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.2427, allocations: 320 kB / 0.9121 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.2427, allocations: 0 / 0.9121 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007594/0.2435, allocations: 191.9 kB / 0.9123 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.2441, allocations: 31.92 kB / 0.9123 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.2463, allocations: 0.64 MB / 0.913 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.2466, allocations: 0.7575 MB / 0.9137 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006606/0.2473, allocations: 64.06 kB / 0.9138 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.2476, allocations: 47.41 kB / 0.9138 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of SimCode: time 1.664e-06/0.2476, allocations: 0 / 0.9138 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.02074/0.2684, allocations: 5.036 MB / 0.9187 GB, free: 44.42 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)