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.0009765/0.0009765, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001048/0.001048, allocations: 191.4 kB / 16.25 MB, free: 6.625 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.626/1.626, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.685/1.685, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001618/0.001618, allocations: 65.44 kB / 0.6711 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2726, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002705/0.2754, allocations: 0.9676 MB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003937/0.2793, allocations: 2.512 MB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.2795, allocations: 0 / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.533e-05/0.2796, allocations: 7.875 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.2799, allocations: 35.75 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.2816, allocations: 465.6 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.2822, allocations: 319.1 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.2823, allocations: 9.688 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.2826, allocations: 143.6 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.2829, allocations: 155.5 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.163e-05/0.283, allocations: 24 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.2837, allocations: 311.7 kB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.507e-05/0.2838, allocations: 71.8 kB / 0.7879 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.284, allocations: 115.5 kB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009951/0.285, allocations: 0.5416 MB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.285, allocations: 7.984 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.11e-07/0.285, allocations: 0 / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.285, allocations: 0 / 0.7885 GB, free: 8.113 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.001572/0.2866, allocations: 0.6606 MB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.2866, allocations: 8.031 kB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.059e-05/0.2867, allocations: 50.67 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.705e-05/0.2868, allocations: 20.75 kB / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.287, allocations: 198.1 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.2872, allocations: 131.4 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.2873, allocations: 20.38 kB / 0.7896 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.2877, allocations: 235.7 kB / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2877, allocations: 11.94 kB / 0.7898 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.2877, allocations: 4 kB / 0.7898 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.2877, allocations: 7.938 kB / 0.7898 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.288, allocations: 111.8 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.2885, allocations: 399.2 kB / 0.7903 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.2899, allocations: 495.3 kB / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2901, allocations: 154.2 kB / 0.7909 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.2902, allocations: 11.94 kB / 0.7909 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004931/0.2907, allocations: 315.5 kB / 0.7912 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.2907, allocations: 0 / 0.7912 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008164/0.2915, allocations: 422.3 kB / 0.7916 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/0.2917, allocations: 350.1 kB / 0.792 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.2919, allocations: 168.9 kB / 0.7921 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.2919, allocations: 38.2 kB / 0.7922 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.292, allocations: 105 kB / 0.7923 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/0.2921, allocations: 110.5 kB / 0.7924 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.2922, allocations: 98.12 kB / 0.7925 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2924, allocations: 330.8 kB / 0.7928 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.2926, allocations: 117.1 kB / 0.7929 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.2929, allocations: 165 kB / 0.793 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.2935, allocations: 266.8 kB / 0.7933 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.2935, allocations: 4 kB / 0.7933 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007041/0.2942, allocations: 376.3 kB / 0.7937 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2942, allocations: 8 kB / 0.7937 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2942, allocations: 0 / 0.7937 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2942, allocations: 4 kB / 0.7937 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.2946, allocations: 79.88 kB / 0.7937 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2947, allocations: 4 kB / 0.7937 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.2949, allocations: 55.56 kB / 0.7938 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.295, allocations: 19.98 kB / 0.7938 GB, free: 2.078 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.0001554/0.2951, allocations: 146.6 kB / 0.794 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.2952, allocations: 31.73 kB / 0.794 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.2959, allocations: 354.2 kB / 0.7943 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.2959, allocations: 12 kB / 0.7943 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.2959, allocations: 448 / 0.7943 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.2959, allocations: 15.92 kB / 0.7944 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.2963, allocations: 357.1 kB / 0.7947 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2963, allocations: 4 kB / 0.7947 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.2966, allocations: 75.83 kB / 0.7948 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2966, allocations: 4 kB / 0.7948 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.2967, allocations: 16 kB / 0.7948 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2967, allocations: 4 kB / 0.7948 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.2967, allocations: 11.92 kB / 0.7948 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.2973, allocations: 0.4979 MB / 0.7953 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.2975, allocations: 148.6 kB / 0.7954 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.2976, allocations: 19.98 kB / 0.7954 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.2978, allocations: 27.97 kB / 0.7955 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2979, allocations: 47.89 kB / 0.7955 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.298, allocations: 23.98 kB / 0.7955 GB, free: 176 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001034/0.2981, allocations: 136.5 kB / 0.7957 GB, free: 40 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2981, allocations: 3.938 kB / 0.7957 GB, free: 36 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005842/0.2987, allocations: 215.7 kB / 0.7959 GB, free: 15.82 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.001371/0.3001, allocations: 1.233 MB / 0.7971 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006481/0.3007, allocations: 374.6 kB / 0.7974 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3007, allocations: 0 / 0.7974 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.301, allocations: 191.6 kB / 0.7976 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.3013, allocations: 31.92 kB / 0.7977 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.3049, allocations: 2.841 MB / 0.8004 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3053, allocations: 0.7649 MB / 0.8012 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.3055, allocations: 59.25 kB / 0.8012 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.3057, allocations: 95.39 kB / 0.8013 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3057, allocations: 0 / 0.8013 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.3263, allocations: 7.583 MB / 0.8087 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.3265, allocations: 207.3 kB / 0.8089 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.255, allocations: 0 / 0.8089 GB, free: 2.297 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)