Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001034, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.859/1.859, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001387/0.001387, allocations: 62.83 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2086, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002042/0.2107, allocations: 0.9113 MB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.2135, allocations: 2.512 MB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.2136, allocations: 3.938 kB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.2136, allocations: 11.81 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.2138, allocations: 47.61 kB / 0.7869 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000992/0.2148, allocations: 0.4983 MB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.2151, allocations: 319.1 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.2152, allocations: 9.688 kB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.2154, allocations: 143.6 kB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.2156, allocations: 155.5 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.2157, allocations: 24 kB / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005527/0.2162, allocations: 303.8 kB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.2163, allocations: 75.78 kB / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.2164, allocations: 115.5 kB / 0.7885 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.2171, allocations: 0.5455 MB / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2171, allocations: 0 / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2171, allocations: 0 / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2171, allocations: 0 / 0.789 GB, free: 7.684 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.001391/0.2185, allocations: 0.6645 MB / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.2185, allocations: 8.031 kB / 0.7897 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.2186, allocations: 54.61 kB / 0.7897 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/0.2187, allocations: 24.75 kB / 0.7897 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2188, allocations: 188.8 kB / 0.7899 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.219, allocations: 127.3 kB / 0.79 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.2191, allocations: 24.38 kB / 0.7901 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.2194, allocations: 239.7 kB / 0.7903 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2194, allocations: 0 / 0.7903 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.2195, allocations: 11.98 kB / 0.7903 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2195, allocations: 4 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.2197, allocations: 115.7 kB / 0.7904 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.2203, allocations: 391.2 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.2218, allocations: 491.3 kB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.2221, allocations: 166.3 kB / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.2221, allocations: 15.91 kB / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005411/0.2227, allocations: 307.6 kB / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.2227, allocations: 4 kB / 0.7917 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008574/0.2236, allocations: 414.4 kB / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.2237, allocations: 350.1 kB / 0.7925 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.2239, allocations: 169.4 kB / 0.7926 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.224, allocations: 38.2 kB / 0.7927 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.2241, allocations: 113 kB / 0.7928 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.2242, allocations: 106.5 kB / 0.7929 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2243, allocations: 98.12 kB / 0.793 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2244, allocations: 334.8 kB / 0.7933 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.2247, allocations: 113.1 kB / 0.7934 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.225, allocations: 169 kB / 0.7935 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.2256, allocations: 267.4 kB / 0.7938 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2256, allocations: 0 / 0.7938 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007315/0.2263, allocations: 384.5 kB / 0.7942 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2263, allocations: 4 kB / 0.7942 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2264, allocations: 11.98 kB / 0.7942 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2264, allocations: 4 kB / 0.7942 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.2268, allocations: 83.91 kB / 0.7943 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2268, allocations: 0 / 0.7943 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.2271, allocations: 51.56 kB / 0.7943 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.2271, allocations: 23.97 kB / 0.7943 GB, free: 1.629 MB / 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.0001529/0.2273, allocations: 150.4 kB / 0.7945 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.2274, allocations: 27.73 kB / 0.7945 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.2281, allocations: 362 kB / 0.7949 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.2281, allocations: 8 kB / 0.7949 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.2281, allocations: 4 kB / 0.7949 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2281, allocations: 8 kB / 0.7949 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.2285, allocations: 353 kB / 0.7952 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.2285, allocations: 4 kB / 0.7952 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.2288, allocations: 75.78 kB / 0.7953 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.2289, allocations: 8 kB / 0.7953 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.2289, allocations: 19.98 kB / 0.7953 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2289, allocations: 4 kB / 0.7953 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2289, allocations: 4.25 kB / 0.7953 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.2296, allocations: 0.4978 MB / 0.7958 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.2298, allocations: 144.6 kB / 0.7959 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.2298, allocations: 19.98 kB / 0.796 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.2301, allocations: 23.98 kB / 0.796 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2302, allocations: 55.81 kB / 0.796 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.2302, allocations: 27.98 kB / 0.7961 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.679e-05/0.2303, allocations: 128.8 kB / 0.7962 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2304, allocations: 0 / 0.7962 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005747/0.2309, allocations: 219.7 kB / 0.7964 GB, free: 15.39 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.001459/0.2324, allocations: 1.245 MB / 0.7976 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007516/0.2332, allocations: 359.5 kB / 0.798 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2332, allocations: 0 / 0.798 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.2335, allocations: 188.3 kB / 0.7981 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.2338, allocations: 31.92 kB / 0.7982 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.2375, allocations: 2.756 MB / 0.8009 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.2378, allocations: 0.761 MB / 0.8016 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002371/0.2381, allocations: 66.36 kB / 0.8017 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.2383, allocations: 91.39 kB / 0.8018 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of SimCode: time 2.535e-06/0.2383, allocations: 0 / 0.8018 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.2697, allocations: 7.801 MB / 0.8094 GB, free: 2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.794, allocations: 6.984 kB / 0.8094 GB, free: 1.996 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)