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.SunRiseSet.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.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 252 MB / 267 MB, free: 10.96 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.000954/0.0009539, allocations: 188.3 kB / 326.6 MB, free: 2.211 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.649/1.649, allocations: 205.4 MB / 0.5776 GB, free: 20.25 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.0007594/0.0007592, allocations: 85.77 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 11.91 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2718, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001018/0.2729, allocations: 0.5916 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.2756, allocations: 2.414 MB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.2757, allocations: 3.938 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.2758, allocations: 7.922 kB / 0.9033 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.2761, allocations: 43.69 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/0.2769, allocations: 406.8 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.2772, allocations: 279.1 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.2772, allocations: 9.688 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.2775, allocations: 127.6 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.2777, allocations: 147.5 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.2777, allocations: 16 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.2781, allocations: 279.8 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.2782, allocations: 59.78 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.2783, allocations: 65.62 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.2787, allocations: 399.3 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2787, allocations: 0 / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.608e-06/0.2787, allocations: 4 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.2787, allocations: 4 kB / 0.905 GB, free: 58.95 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.001327/0.2801, allocations: 0.6255 MB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.2801, allocations: 8.031 kB / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7e-05/0.2802, allocations: 50.48 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.2803, allocations: 27.67 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.2805, allocations: 183.6 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.2806, allocations: 130.8 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.2807, allocations: 19.94 kB / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.281, allocations: 231.8 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.281, allocations: 4 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.2811, allocations: 7.984 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2811, allocations: 8 kB / 0.9063 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.2813, allocations: 115.7 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.2818, allocations: 399 kB / 0.9068 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.2831, allocations: 0.4953 MB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.2833, allocations: 158.3 kB / 0.9074 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.2834, allocations: 11.98 kB / 0.9074 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005261/0.2839, allocations: 304.2 kB / 0.9077 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.375e-06/0.284, allocations: 0 / 0.9077 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0007525/0.2847, allocations: 410.6 kB / 0.9081 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.718e-05/0.2848, allocations: 354.1 kB / 0.9084 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.285, allocations: 174 kB / 0.9086 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.285, allocations: 37.7 kB / 0.9086 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.285, allocations: 97.14 kB / 0.9087 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.2851, allocations: 118.4 kB / 0.9088 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.2852, allocations: 12 kB / 0.9088 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.2853, allocations: 330.8 kB / 0.9092 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.2856, allocations: 121 kB / 0.9093 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.2858, allocations: 165 kB / 0.9094 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.2861, allocations: 118.3 kB / 0.9095 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2861, allocations: 4 kB / 0.9096 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006387/0.2868, allocations: 371.8 kB / 0.9099 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2868, allocations: 10.19 kB / 0.9099 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2868, allocations: 0 / 0.9099 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2868, allocations: 4 kB / 0.9099 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.2872, allocations: 79.94 kB / 0.91 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.2872, allocations: 7.984 kB / 0.91 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.2875, allocations: 63.66 kB / 0.9101 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.2876, allocations: 23.94 kB / 0.9101 GB, free: 53.18 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.000154/0.2877, allocations: 149.7 kB / 0.9102 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.2878, allocations: 27.7 kB / 0.9103 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006252/0.2884, allocations: 358.5 kB / 0.9106 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.2884, allocations: 8 kB / 0.9106 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.2884, allocations: 4 kB / 0.9106 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.2885, allocations: 4 kB / 0.9106 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.2889, allocations: 353 kB / 0.9109 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2889, allocations: 8 kB / 0.911 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.2892, allocations: 71.84 kB / 0.911 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.2892, allocations: 8 kB / 0.911 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.2893, allocations: 19.98 kB / 0.9111 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2893, allocations: 4 kB / 0.9111 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.2893, allocations: 7.938 kB / 0.9111 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.29, allocations: 0.4944 MB / 0.9115 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.2901, allocations: 148.5 kB / 0.9117 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.2902, allocations: 23.98 kB / 0.9117 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.2904, allocations: 31.98 kB / 0.9117 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2906, allocations: 59.81 kB / 0.9118 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.2906, allocations: 24 kB / 0.9118 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.896e-05/0.2907, allocations: 131.7 kB / 0.9119 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2907, allocations: 0 / 0.9119 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006533/0.2914, allocations: 219.7 kB / 0.9122 GB, free: 50.92 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.001408/0.2928, allocations: 1.237 MB / 0.9134 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006167/0.2934, allocations: 329.1 kB / 0.9137 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2934, allocations: 0 / 0.9137 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.2937, allocations: 188.5 kB / 0.9139 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.294, allocations: 29.97 kB / 0.9139 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.2962, allocations: 1.553 MB / 0.9154 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2964, allocations: 0.7614 MB / 0.9161 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000213/0.2966, allocations: 59.25 kB / 0.9162 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.2968, allocations: 99.38 kB / 0.9163 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.2968, allocations: 0 / 0.9163 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.3153, allocations: 7.325 MB / 0.9235 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.3156, allocations: 211.5 kB / 0.9237 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.563, allocations: 0 / 0.9237 GB, free: 39.11 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)