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.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009234/0.0009237, allocations: 178.8 kB / 326.5 MB, free: 2.668 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.466/1.466, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007335/0.0007336, allocations: 105 kB / 0.6804 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003318, allocations: 9.219 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2061, allocations: 105.4 MB / 0.8967 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0009124/0.2071, allocations: 0.6419 MB / 0.8974 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.2096, allocations: 2.578 MB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.2097, allocations: 3.938 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.271e-05/0.2098, allocations: 3.938 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.21, allocations: 47.69 kB / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.2106, allocations: 422.8 kB / 0.9004 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.2109, allocations: 295.1 kB / 0.9006 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.2109, allocations: 17.67 kB / 0.9006 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.2111, allocations: 139.5 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.2112, allocations: 143.5 kB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.2113, allocations: 12 kB / 0.9009 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.2117, allocations: 299.8 kB / 0.9012 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.2117, allocations: 55.84 kB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.2118, allocations: 111.5 kB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.2122, allocations: 403 kB / 0.9018 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2122, allocations: 0 / 0.9018 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2122, allocations: 3.938 kB / 0.9018 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2122, allocations: 4 kB / 0.9018 GB, free: 62.96 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.2134, allocations: 0.6294 MB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2134, allocations: 8.031 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.2135, allocations: 20.75 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.861e-05/0.2136, allocations: 192.8 kB / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.2137, allocations: 135.3 kB / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.2138, allocations: 16.38 kB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.214, allocations: 239.9 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2141, allocations: 0 / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.2141, allocations: 11.98 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2141, allocations: 4 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.2143, allocations: 123.7 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.2146, allocations: 395.1 kB / 0.9035 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.2158, allocations: 0.4915 MB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.216, allocations: 154.3 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.216, allocations: 15.98 kB / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/0.2164, allocations: 308.3 kB / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.2164, allocations: 3.938 kB / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006864/0.2171, allocations: 418.4 kB / 0.9048 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/0.2172, allocations: 354.6 kB / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2173, allocations: 173.9 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.2173, allocations: 41.7 kB / 0.9054 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.2174, allocations: 97.14 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/0.2175, allocations: 114.4 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.2175, allocations: 45.7 kB / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.2176, allocations: 334.8 kB / 0.9059 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.2178, allocations: 121 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.2181, allocations: 169 kB / 0.9062 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.2185, allocations: 260 kB / 0.9064 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2185, allocations: 4 kB / 0.9065 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005996/0.2191, allocations: 384 kB / 0.9068 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2192, allocations: 6.5 kB / 0.9068 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2192, allocations: 3.984 kB / 0.9068 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2192, allocations: 7.938 kB / 0.9068 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.2195, allocations: 75.83 kB / 0.9069 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2195, allocations: 3.984 kB / 0.9069 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.2198, allocations: 59.67 kB / 0.907 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.2199, allocations: 19.98 kB / 0.907 GB, free: 57.04 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 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.22, allocations: 161.7 kB / 0.9071 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.22, allocations: 23.75 kB / 0.9072 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.2206, allocations: 362 kB / 0.9075 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2206, allocations: 8 kB / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2206, allocations: 4 kB / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.2206, allocations: 7.984 kB / 0.9075 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.2209, allocations: 345.1 kB / 0.9079 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2209, allocations: 11.94 kB / 0.9079 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.2212, allocations: 71.84 kB / 0.9079 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2212, allocations: 8 kB / 0.9079 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.2212, allocations: 12.36 kB / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.2212, allocations: 8 kB / 0.908 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2212, allocations: 8 kB / 0.908 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.2218, allocations: 0.49 MB / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2219, allocations: 152.6 kB / 0.9086 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.222, allocations: 23.84 kB / 0.9086 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.2222, allocations: 39.97 kB / 0.9087 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.2223, allocations: 51.81 kB / 0.9087 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.2223, allocations: 27.98 kB / 0.9087 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.238e-05/0.2224, allocations: 131.8 kB / 0.9089 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2224, allocations: 0 / 0.9089 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004762/0.2229, allocations: 211.7 kB / 0.9091 GB, free: 54.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004204/0.2233, allocations: 333.1 kB / 0.9094 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005029/0.2238, allocations: 325 kB / 0.9097 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2238, allocations: 0 / 0.9097 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.2241, allocations: 191.7 kB / 0.9099 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.2244, allocations: 28 kB / 0.9099 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007961/0.2252, allocations: 0.6691 MB / 0.9106 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.2253, allocations: 0.7614 MB / 0.9113 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2255, allocations: 43.42 kB / 0.9113 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2255, allocations: 0 / 0.9113 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.005761/0.2312, allocations: 5.185 MB / 0.9164 GB, free: 47.17 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)