Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_10_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.001229/0.001229, 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.001474/0.001474, allocations: 191 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.91 kB / 0.8689 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6459/0.6474, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002089/0.6496, allocations: 0.9649 MB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.6525, allocations: 2.467 MB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.472e-05/0.6526, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.6527, allocations: 7.875 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.6529, allocations: 55.67 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.654, allocations: 445.2 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.6544, allocations: 318.9 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.497e-05/0.6545, allocations: 17.66 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.6547, allocations: 151.6 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.6549, allocations: 147.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.655, allocations: 24 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.6555, allocations: 319.7 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.6556, allocations: 67.78 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.6557, allocations: 115.5 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007103/0.6564, allocations: 0.5455 MB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6564, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6564, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.6564, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 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.00149/0.6579, allocations: 0.6697 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.658, allocations: 8.031 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.658, allocations: 46.73 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.258e-05/0.6581, allocations: 20.75 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.6583, allocations: 189.9 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.6585, allocations: 139.3 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.6585, allocations: 20.36 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.659, allocations: 244.2 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.659, allocations: 3.938 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.659, allocations: 3.984 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.659, allocations: 11.94 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.6593, allocations: 107.8 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.6598, allocations: 407 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.6613, allocations: 499.3 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.6615, allocations: 158.3 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.6616, allocations: 19.86 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/0.662, allocations: 315.6 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.662, allocations: 0 / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.0007885/0.6628, allocations: 408.9 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.663, allocations: 354.1 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.6632, allocations: 173.1 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.6632, allocations: 41.7 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.6633, allocations: 97.12 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.6634, allocations: 118.4 kB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.6636, allocations: 90.23 kB / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6637, allocations: 330.8 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.664, allocations: 117.1 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.6643, allocations: 165 kB / 1.027 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.6648, allocations: 274.9 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6648, allocations: 0 / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007272/0.6656, allocations: 377 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.6656, allocations: 8 kB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6656, allocations: 3.984 kB / 1.028 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6656, allocations: 8 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.666, allocations: 71.89 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.666, allocations: 7.984 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.6663, allocations: 47.67 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.6664, allocations: 20.98 kB / 1.028 GB, free: 7.051 MB / 0.7794 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.0001483/0.6665, allocations: 150.5 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.6666, allocations: 27.66 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006692/0.6673, allocations: 362.2 kB / 1.028 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.6673, allocations: 15.94 kB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.6673, allocations: 8 kB / 1.028 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.6673, allocations: 3.984 kB / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.6677, allocations: 357 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6677, allocations: 0 / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.668, allocations: 71.91 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.6681, allocations: 7.938 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.6681, allocations: 19.98 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/0.6681, allocations: 11.94 kB / 1.029 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6681, allocations: 0 / 1.029 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007242/0.6689, allocations: 0.4939 MB / 1.029 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.669, allocations: 148.5 kB / 1.029 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.6691, allocations: 16 kB / 1.029 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.6693, allocations: 31.97 kB / 1.029 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.6695, allocations: 51.88 kB / 1.029 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.6695, allocations: 24.25 kB / 1.029 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001039/0.6696, allocations: 131.2 kB / 1.03 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6696, allocations: 3.938 kB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005711/0.6702, allocations: 215.7 kB / 1.03 GB, free: 4.789 MB / 0.7794 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.001447/0.6716, allocations: 1.232 MB / 1.031 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006964/0.6724, allocations: 359.5 kB / 1.031 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6724, allocations: 0 / 1.031 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.6727, allocations: 191.9 kB / 1.032 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.673, allocations: 31.94 kB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.677, allocations: 2.836 MB / 1.034 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.6773, allocations: 0.7611 MB / 1.035 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002343/0.6776, allocations: 54.89 kB / 1.035 GB, free: 15.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.6778, allocations: 103.4 kB / 1.035 GB, free: 14.99 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.6778, allocations: 0 / 1.035 GB, free: 14.99 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.6972, allocations: 7.571 MB / 1.043 GB, free: 7.547 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.6975, allocations: 211.4 kB / 1.043 GB, free: 7.289 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.658, allocations: 8 kB / 1.043 GB, free: 7.281 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)