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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",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.509/1.509, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001172/0.001172, allocations: 172.5 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001008/0.001008, allocations: 90.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 9.922 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2106, 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.SunRiseSetNegativeStartTime): time 0.0009235/0.2116, allocations: 0.5903 MB / 0.9007 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.2138, allocations: 2.432 MB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.2139, allocations: 0 / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.2139, allocations: 3.938 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.2141, allocations: 55.77 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.2149, allocations: 414.9 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.2151, allocations: 179.7 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.2152, allocations: 17.67 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.2154, allocations: 147.6 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.2155, allocations: 139.6 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.2156, allocations: 12 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003921/0.216, allocations: 295.7 kB / 0.9043 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.175e-05/0.216, allocations: 51.86 kB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.2161, allocations: 61.58 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.2165, allocations: 411.3 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2165, allocations: 0 / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2165, allocations: 0 / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2166, allocations: 4 kB / 0.9048 GB, free: 58.99 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.001167/0.2177, allocations: 0.6196 MB / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2178, allocations: 11.97 kB / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.2178, allocations: 46.55 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.2179, allocations: 27.67 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.218, allocations: 187.6 kB / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.2181, allocations: 130.8 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.2182, allocations: 20 kB / 0.9058 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.2185, allocations: 231.8 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2185, allocations: 3.938 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.2185, allocations: 8 kB / 0.9061 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2185, allocations: 4 kB / 0.9061 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.2188, allocations: 115.8 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.2191, allocations: 410.9 kB / 0.9066 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.2204, allocations: 495.5 kB / 0.907 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.2204, allocations: 8.062 kB / 0.9071 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/0.2208, allocations: 320.3 kB / 0.9074 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.2208, allocations: 0 / 0.9074 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006867/0.2215, allocations: 404.9 kB / 0.9077 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.2216, allocations: 354.1 kB / 0.9081 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.2217, allocations: 166.6 kB / 0.9082 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.2218, allocations: 45.69 kB / 0.9083 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.2218, allocations: 93.14 kB / 0.9084 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.2219, allocations: 114.5 kB / 0.9085 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.2219, allocations: 4 kB / 0.9085 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.222, allocations: 338.8 kB / 0.9088 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.2222, allocations: 113 kB / 0.9089 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.2224, allocations: 165 kB / 0.9091 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.2227, allocations: 124.6 kB / 0.9092 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.2227, 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.0006003/0.2233, allocations: 382.8 kB / 0.9096 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2233, allocations: 6.656 kB / 0.9096 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2234, allocations: 4 kB / 0.9096 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2234, allocations: 0 / 0.9096 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.2237, allocations: 79.88 kB / 0.9096 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2238, allocations: 4 kB / 0.9097 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.2241, allocations: 55.66 kB / 0.9097 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.2241, 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.0001346/0.2242, allocations: 162.4 kB / 0.9099 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.2243, allocations: 27.72 kB / 0.9099 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005631/0.2249, allocations: 351 kB / 0.9102 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.2249, allocations: 16.23 kB / 0.9103 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2249, allocations: 4 kB / 0.9103 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.2249, allocations: 8 kB / 0.9103 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.2252, allocations: 357 kB / 0.9106 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2252, allocations: 4 kB / 0.9106 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.2255, allocations: 75.84 kB / 0.9107 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.2255, allocations: 4 kB / 0.9107 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.2255, allocations: 15.98 kB / 0.9107 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2255, allocations: 4 kB / 0.9107 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2255, allocations: 7.938 kB / 0.9107 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.2261, allocations: 0.6217 MB / 0.9113 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.2263, allocations: 148.5 kB / 0.9115 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.2263, allocations: 19.98 kB / 0.9115 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.2265, allocations: 35.97 kB / 0.9115 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.2266, allocations: 55.89 kB / 0.9116 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.2267, allocations: 20 kB / 0.9116 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.139e-05/0.2268, allocations: 135.7 kB / 0.9117 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2268, allocations: 0 / 0.9117 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007678/0.2276, allocations: 215.7 kB / 0.9119 GB, free: 50.98 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.001193/0.2288, allocations: 2.128 MB / 0.914 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005096/0.2293, allocations: 333 kB / 0.9143 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2293, allocations: 0 / 0.9143 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.2295, allocations: 183.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.0001742/0.2297, allocations: 22.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.001205/0.2309, allocations: 1.425 MB / 0.9159 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.2311, allocations: 0.773 MB / 0.9167 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.2313, allocations: 55.06 kB / 0.9167 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.2315, allocations: 95.33 kB / 0.9168 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2315, allocations: 8 kB / 0.9168 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.2474, allocations: 7.314 MB / 0.924 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.2476, allocations: 222.8 kB / 0.9242 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.273, allocations: 4 kB / 0.9242 GB, free: 38.41 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)