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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001451/0.001451, allocations: 175.7 kB / 326.5 MB, free: 2.215 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.979/1.979, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0008652/0.0008651, allocations: 79.58 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004649, allocations: 9.031 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2056, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.0008326/0.2064, allocations: 0.5902 MB / 0.9007 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2086, allocations: 2.424 MB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.2087, allocations: 7.938 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.2087, allocations: 3.938 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.2089, allocations: 51.81 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.2096, allocations: 414.2 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.2098, allocations: 187.7 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.2098, allocations: 13.67 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.21, allocations: 139.7 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.2102, allocations: 143.5 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.2102, allocations: 12 kB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.2106, allocations: 299.7 kB / 0.9043 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.2106, allocations: 55.84 kB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.2107, allocations: 65.56 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.2111, allocations: 403.3 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2111, allocations: 0 / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2111, allocations: 0 / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2111, allocations: 0 / 0.9048 GB, free: 59 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.001093/0.2122, allocations: 0.6294 MB / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2123, allocations: 8.031 kB / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.2123, allocations: 46.55 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.2124, allocations: 27.67 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.69e-05/0.2125, allocations: 183.6 kB / 0.9057 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.2126, allocations: 126.8 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.2126, allocations: 23.94 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.2129, allocations: 235.8 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.2129, allocations: 3.938 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.213, allocations: 8 kB / 0.9061 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.213, allocations: 4 kB / 0.9061 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.2131, allocations: 111.8 kB / 0.9062 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.2135, allocations: 406.9 kB / 0.9066 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.2147, allocations: 499.5 kB / 0.907 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.2148, allocations: 16.14 kB / 0.9071 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003526/0.2151, allocations: 308.2 kB / 0.9074 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.164e-06/0.2152, allocations: 0 / 0.9074 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006383/0.2158, allocations: 414 kB / 0.9077 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.2159, allocations: 354.2 kB / 0.9081 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.216, allocations: 170 kB / 0.9082 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.216, allocations: 41.7 kB / 0.9083 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.2161, allocations: 97.12 kB / 0.9084 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.2161, allocations: 110.5 kB / 0.9085 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.2162, allocations: 8 kB / 0.9085 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.2162, allocations: 342.8 kB / 0.9088 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.2165, allocations: 109.1 kB / 0.9089 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.2167, allocations: 165 kB / 0.9091 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.2169, allocations: 116.9 kB / 0.9092 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2169, allocations: 3.938 kB / 0.9092 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005828/0.2175, allocations: 384.4 kB / 0.9096 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2176, allocations: 4 kB / 0.9096 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2176, allocations: 0 / 0.9096 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2176, allocations: 4 kB / 0.9096 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.2179, allocations: 75.88 kB / 0.9096 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2179, allocations: 0 / 0.9096 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.2183, allocations: 63.66 kB / 0.9097 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.2183, allocations: 19.98 kB / 0.9097 GB, free: 53.44 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.0001111/0.2184, allocations: 161.7 kB / 0.9099 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.2185, allocations: 23.72 kB / 0.9099 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.219, allocations: 355.3 kB / 0.9102 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.219, allocations: 8 kB / 0.9102 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.219, allocations: 8.062 kB / 0.9103 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.2191, allocations: 7.984 kB / 0.9103 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.2193, allocations: 353 kB / 0.9106 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2193, allocations: 4 kB / 0.9106 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.2196, allocations: 83.83 kB / 0.9107 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2196, allocations: 4 kB / 0.9107 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.2197, allocations: 12 kB / 0.9107 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2197, allocations: 11.92 kB / 0.9107 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2197, allocations: 7.938 kB / 0.9107 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.2202, allocations: 0.61 MB / 0.9113 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.2204, allocations: 156.7 kB / 0.9115 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.2204, allocations: 16 kB / 0.9115 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.2207, allocations: 43.95 kB / 0.9115 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.2207, allocations: 47.89 kB / 0.9116 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.2208, allocations: 27.98 kB / 0.9116 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.2209, allocations: 131.8 kB / 0.9117 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2209, allocations: 0 / 0.9117 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005136/0.2214, allocations: 219.7 kB / 0.9119 GB, free: 50.97 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.001177/0.2226, allocations: 2.124 MB / 0.914 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005489/0.2231, allocations: 333.5 kB / 0.9143 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2231, allocations: 4 kB / 0.9143 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.2234, allocations: 179.7 kB / 0.9145 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.2235, allocations: 23.22 kB / 0.9145 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.2247, allocations: 1.424 MB / 0.9159 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.2249, allocations: 0.7691 MB / 0.9167 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.2251, allocations: 60.31 kB / 0.9167 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.2253, allocations: 95.38 kB / 0.9168 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2253, allocations: 0 / 0.9168 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.2431, allocations: 7.317 MB / 0.9239 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003201/0.2435, allocations: 220 kB / 0.9242 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.38, allocations: 0 / 0.9242 GB, free: 38.42 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)