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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 251.5 MB / 267.4 MB, free: 11.03 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.0008981/0.0008982, allocations: 167.4 kB / 326.5 MB, free: 2.652 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.73/1.73, allocations: 205 MB / 0.5766 GB, free: 20.56 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.0008469/0.000847, allocations: 84.98 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003095, allocations: 11.23 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2146, allocations: 105.4 MB / 0.8967 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.0008919/0.2156, allocations: 0.6378 MB / 0.8974 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.218, allocations: 2.573 MB / 0.8999 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.2181, allocations: 3.938 kB / 0.8999 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.2181, allocations: 11.92 kB / 0.8999 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.2183, allocations: 47.69 kB / 0.8999 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.219, allocations: 418.8 kB / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.2192, allocations: 299.1 kB / 0.9006 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.2193, allocations: 17.67 kB / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.2194, allocations: 135.5 kB / 0.9008 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.2196, allocations: 147.5 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.2196, allocations: 12 kB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000442/0.2201, allocations: 299.8 kB / 0.9012 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.2202, allocations: 55.8 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.2203, allocations: 111.5 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.2206, allocations: 403.1 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2207, allocations: 0 / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2207, allocations: 0 / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2207, allocations: 0 / 0.9018 GB, free: 62.5 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.001207/0.2219, allocations: 0.6333 MB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.2219, allocations: 8.031 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.2221, allocations: 24.73 kB / 0.9024 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2222, allocations: 196.7 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.2224, allocations: 127.4 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.2225, allocations: 20.38 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.2229, allocations: 239.9 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2229, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.223, allocations: 12 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.223, allocations: 4 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.2233, allocations: 123.7 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.2236, allocations: 395.1 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.2248, allocations: 499.3 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.225, allocations: 158.3 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.2251, allocations: 15.97 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003573/0.2254, allocations: 308.3 kB / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 1.914e-06/0.2254, allocations: 7.875 kB / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0007883/0.2262, allocations: 417.5 kB / 0.9048 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.2263, allocations: 350.1 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2264, allocations: 170 kB / 0.9053 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.2265, allocations: 45.7 kB / 0.9054 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.2265, allocations: 97.62 kB / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.2266, allocations: 114.4 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.2267, allocations: 49.69 kB / 0.9056 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.2267, allocations: 338.8 kB / 0.9059 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.2269, allocations: 109.1 kB / 0.906 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.2272, allocations: 169 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/0.2278, allocations: 264.1 kB / 0.9064 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2278, allocations: 0 / 0.9064 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006508/0.2284, allocations: 383 kB / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2285, allocations: 4 kB / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2285, allocations: 0 / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2285, allocations: 8.688 kB / 0.9068 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.2288, allocations: 83.81 kB / 0.9069 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2289, allocations: 4 kB / 0.9069 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.2291, allocations: 55.66 kB / 0.907 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.2292, allocations: 19.98 kB / 0.907 GB, free: 56.57 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.0001259/0.2293, allocations: 157.7 kB / 0.9071 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/0.2294, allocations: 27.73 kB / 0.9072 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.23, allocations: 362 kB / 0.9075 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.23, allocations: 8 kB / 0.9075 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.23, allocations: 8 kB / 0.9075 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.23, allocations: 8.672 kB / 0.9075 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.2303, allocations: 341.1 kB / 0.9078 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2303, allocations: 7.938 kB / 0.9079 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.2306, allocations: 71.84 kB / 0.9079 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.2306, allocations: 8 kB / 0.9079 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.2306, allocations: 19.98 kB / 0.908 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2307, allocations: 11.98 kB / 0.908 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2307, allocations: 4 kB / 0.908 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.2313, allocations: 0.4939 MB / 0.9084 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2314, allocations: 148.6 kB / 0.9086 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.2315, allocations: 19.89 kB / 0.9086 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.2317, allocations: 39.92 kB / 0.9086 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.2318, allocations: 55.81 kB / 0.9087 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.2318, allocations: 23.98 kB / 0.9087 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.621e-05/0.2319, allocations: 131.8 kB / 0.9088 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2319, allocations: 0 / 0.9088 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005156/0.2324, allocations: 215.7 kB / 0.9091 GB, free: 54.3 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.0004548/0.2329, allocations: 333 kB / 0.9094 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005551/0.2335, allocations: 333.4 kB / 0.9097 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2335, allocations: 0 / 0.9097 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.2337, allocations: 188.4 kB / 0.9099 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.234, allocations: 33.2 kB / 0.9099 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009205/0.235, allocations: 0.6588 MB / 0.9105 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.2352, allocations: 0.7614 MB / 0.9113 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2353, allocations: 51.41 kB / 0.9113 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.8e-07/0.2353, allocations: 0 / 0.9113 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.006927/0.2422, allocations: 5.2 MB / 0.9164 GB, free: 46.7 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)