Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.497/1.497, allocations: 288.4 MB / 303.6 MB, free: 8.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009554/0.0009557, allocations: 176.5 kB / 372.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 0.631 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006645/0.0006643, allocations: 94.3 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 15.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1642, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0007533/0.165, allocations: 0.5912 MB / 0.9808 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1672, allocations: 2.33 MB / 0.983 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.1673, allocations: 3.938 kB / 0.9831 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.1673, allocations: 7.875 kB / 0.9831 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.1675, allocations: 47.69 kB / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.1683, allocations: 363 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1686, allocations: 259.2 kB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.802e-05/0.1687, allocations: 21.61 kB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1688, allocations: 127.6 kB / 0.9838 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.169, allocations: 131.6 kB / 0.984 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.1691, allocations: 12 kB / 0.984 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.1695, allocations: 271.7 kB / 0.9842 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.1696, allocations: 47.86 kB / 0.9843 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.166e-05/0.1697, allocations: 133.2 kB / 0.9844 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.1701, allocations: 383.1 kB / 0.9848 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1701, allocations: 0 / 0.9848 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1701, allocations: 4 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1701, allocations: 4 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.00109/0.1712, allocations: 0.6226 MB / 0.9854 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1713, allocations: 8.031 kB / 0.9854 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.1713, allocations: 50.73 kB / 0.9854 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.1714, allocations: 16.75 kB / 0.9855 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.106e-05/0.1715, allocations: 195 kB / 0.9856 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.1716, allocations: 131.4 kB / 0.9858 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.1717, allocations: 16.38 kB / 0.9858 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1719, allocations: 259.5 kB / 0.986 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.172, allocations: 0 / 0.986 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.172, allocations: 4 kB / 0.986 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.172, allocations: 8 kB / 0.986 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.1722, allocations: 123.7 kB / 0.9862 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.1728, allocations: 0.9551 MB / 0.9871 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.174, allocations: 487.2 kB / 0.9876 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.1742, allocations: 158.3 kB / 0.9877 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.1742, allocations: 15.92 kB / 0.9877 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.1746, allocations: 303.8 kB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 1.653e-06/0.1746, allocations: 3.938 kB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0006112/0.1752, allocations: 397.7 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.1753, allocations: 358.6 kB / 0.9887 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1754, allocations: 181.7 kB / 0.9889 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.1754, allocations: 41.7 kB / 0.989 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.1755, allocations: 104.9 kB / 0.9891 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.1755, allocations: 114.5 kB / 0.9892 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.1755, allocations: 8 kB / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.1756, allocations: 330.8 kB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.1758, allocations: 109 kB / 0.9896 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.176, allocations: 180.4 kB / 0.9898 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.1765, allocations: 274.6 kB / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1765, allocations: 0 / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005675/0.177, allocations: 369.8 kB / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1771, allocations: 7.938 kB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1771, allocations: 4.188 kB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1771, allocations: 4 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.1775, allocations: 79.88 kB / 0.9905 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1775, allocations: 4 kB / 0.9905 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.1778, allocations: 67.59 kB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.1778, allocations: 20.36 kB / 0.9906 GB, free: 16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$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.0001106/0.1779, allocations: 157.7 kB / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.178, allocations: 27.72 kB / 0.9907 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.1785, allocations: 358.1 kB / 0.9911 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1785, allocations: 11.94 kB / 0.9911 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1785, allocations: 8 kB / 0.9911 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.1785, allocations: 7.922 kB / 0.9911 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.1788, allocations: 357 kB / 0.9914 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1788, allocations: 4 kB / 0.9914 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.1791, allocations: 67.89 kB / 0.9915 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1791, allocations: 8 kB / 0.9915 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.1791, allocations: 19.98 kB / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1791, allocations: 7.938 kB / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1791, allocations: 4 kB / 0.9915 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.1796, allocations: 493.8 kB / 0.992 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1797, allocations: 152.7 kB / 0.9922 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.1798, allocations: 16 kB / 0.9922 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.18, allocations: 39.95 kB / 0.9922 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.1801, allocations: 59.81 kB / 0.9923 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.1801, allocations: 23.98 kB / 0.9923 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.1802, allocations: 123.2 kB / 0.9924 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1802, allocations: 3.938 kB / 0.9924 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004468/0.1807, allocations: 207.8 kB / 0.9926 GB, free: 13.76 MB / 0.6198 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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.000946/0.1816, allocations: 1.217 MB / 0.9938 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000462/0.1821, allocations: 315.5 kB / 0.9941 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1821, allocations: 4 kB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.1823, allocations: 184.4 kB / 0.9943 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1826, allocations: 31.94 kB / 0.9943 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1844, allocations: 1.533 MB / 0.9958 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.1845, allocations: 0.7653 MB / 0.9966 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.1847, allocations: 55.62 kB / 0.9966 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.1849, allocations: 95.38 kB / 0.9967 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1849, allocations: 0 / 0.9967 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.2007, allocations: 7.199 MB / 1.004 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.2009, allocations: 201.5 kB / 1.004 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.079, allocations: 0 / 1.004 GB, free: 2.117 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)