Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005626/0.005626, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.0005162, allocations: 14.84 kB / 0.6744 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2155, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001/0.2165, allocations: 0.6296 MB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00271/0.2192, allocations: 2.547 MB / 0.7911 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.2193, allocations: 3.938 kB / 0.7911 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.2193, allocations: 3.938 kB / 0.7911 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.2195, allocations: 39.69 kB / 0.7912 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.2203, allocations: 422.8 kB / 0.7916 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.2206, allocations: 299.1 kB / 0.7918 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.983e-05/0.2207, allocations: 17.61 kB / 0.7919 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.2208, allocations: 131.6 kB / 0.792 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.2211, allocations: 147.5 kB / 0.7921 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.2211, allocations: 16 kB / 0.7921 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.2216, allocations: 303.7 kB / 0.7924 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.2217, allocations: 59.78 kB / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2218, allocations: 137.2 kB / 0.7926 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006255/0.2224, allocations: 0.522 MB / 0.7931 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2224, allocations: 0 / 0.7931 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.306e-06/0.2224, allocations: 4 kB / 0.7931 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2225, allocations: 0 / 0.7931 GB, free: 6.16 MB / 0.6075 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.00131/0.2238, allocations: 0.6256 MB / 0.7937 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.2238, allocations: 12.03 kB / 0.7938 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.805e-05/0.2239, allocations: 54.67 kB / 0.7938 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.224, allocations: 24.75 kB / 0.7938 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.2241, allocations: 200.7 kB / 0.794 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.2243, allocations: 127.4 kB / 0.7941 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.2244, allocations: 20.38 kB / 0.7942 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.2248, allocations: 239.7 kB / 0.7944 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2248, allocations: 0 / 0.7944 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.2248, allocations: 11.94 kB / 0.7944 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2248, allocations: 4 kB / 0.7944 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.2251, allocations: 111.8 kB / 0.7945 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.2256, allocations: 399.1 kB / 0.7949 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.227, allocations: 495.3 kB / 0.7954 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.2272, allocations: 158.3 kB / 0.7955 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.2273, allocations: 15.92 kB / 0.7955 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004938/0.2278, allocations: 311.5 kB / 0.7958 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.733e-06/0.2278, allocations: 0 / 0.7958 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007724/0.2285, allocations: 412.9 kB / 0.7962 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/0.2287, allocations: 358.6 kB / 0.7966 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.2289, allocations: 167.2 kB / 0.7967 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.2289, allocations: 41.7 kB / 0.7968 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.229, allocations: 93.14 kB / 0.7969 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.854e-05/0.2291, allocations: 114.5 kB / 0.797 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.2292, allocations: 45.7 kB / 0.797 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2293, allocations: 330.8 kB / 0.7973 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.2296, allocations: 125 kB / 0.7974 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.2299, allocations: 161 kB / 0.7976 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.2305, allocations: 273.1 kB / 0.7979 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2305, allocations: 4 kB / 0.7979 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007136/0.2312, allocations: 379.9 kB / 0.7982 GB, free: 364 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2312, allocations: 8 kB / 0.7982 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2312, allocations: 1 kB / 0.7982 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.2313, allocations: 4 kB / 0.7982 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.2316, allocations: 79.81 kB / 0.7983 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.2317, allocations: 4 kB / 0.7983 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.2319, allocations: 51.67 kB / 0.7984 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.232, allocations: 19.98 kB / 0.7984 GB, free: 196 kB / 0.6075 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.0001512/0.2321, allocations: 161.6 kB / 0.7985 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.2322, allocations: 27.7 kB / 0.7986 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006806/0.2329, allocations: 362.7 kB / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.2329, allocations: 8 kB / 0.7989 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.2329, allocations: 4 kB / 0.7989 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.233, allocations: 7.984 kB / 0.7989 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.2333, allocations: 353 kB / 0.7993 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2333, allocations: 4.188 kB / 0.7993 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.2336, allocations: 83.78 kB / 0.7993 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.2336, allocations: 4 kB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.2337, allocations: 23.97 kB / 0.7994 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2337, allocations: 4 kB / 0.7994 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.2337, allocations: 7.938 kB / 0.7994 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.2344, allocations: 494.1 kB / 0.7999 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.2346, allocations: 152.5 kB / 0.8 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.2347, allocations: 20 kB / 0.8 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.2349, allocations: 47.91 kB / 0.8001 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.235, allocations: 47.88 kB / 0.8001 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.2351, allocations: 23.98 kB / 0.8001 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001135/0.2352, allocations: 132.5 kB / 0.8003 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2352, allocations: 0 / 0.8003 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006488/0.2359, allocations: 219.7 kB / 0.8005 GB, free: 13.91 MB / 0.6231 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.001376/0.2372, allocations: 1.24 MB / 0.8017 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006187/0.2379, allocations: 331.6 kB / 0.802 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2379, allocations: 0 / 0.802 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.2382, allocations: 183.7 kB / 0.8022 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.2385, allocations: 38.88 kB / 0.8022 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.2423, allocations: 2.851 MB / 0.805 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.2427, allocations: 0.7614 MB / 0.8057 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002249/0.2429, allocations: 63.23 kB / 0.8058 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.2431, allocations: 91.39 kB / 0.8059 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.2431, allocations: 0 / 0.8059 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.2607, allocations: 7.271 MB / 0.813 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.2609, allocations: 206.2 kB / 0.8132 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.231, allocations: 4 kB / 0.8132 GB, free: 0.7344 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)