Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_9_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.0007648/0.0007648, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005191/0.005191, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 8 kB / 0.8161 GB, free: 13.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7513, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0009242/0.7523, allocations: 0.6015 MB / 0.9558 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.7547, allocations: 2.51 MB / 0.9582 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.7548, allocations: 2 kB / 0.9582 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.7548, allocations: 7.875 kB / 0.9582 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.755, allocations: 41.47 kB / 0.9583 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.7558, allocations: 413.2 kB / 0.9587 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.7561, allocations: 305.1 kB / 0.959 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.082e-05/0.7561, allocations: 19.3 kB / 0.959 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.7563, allocations: 124.3 kB / 0.9591 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.7565, allocations: 151.7 kB / 0.9592 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.7565, allocations: 13.75 kB / 0.9593 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.757, allocations: 306.7 kB / 0.9595 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.7571, allocations: 56.44 kB / 0.9596 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.7572, allocations: 134.6 kB / 0.9597 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.7578, allocations: 0.5412 MB / 0.9603 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7578, allocations: 0 / 0.9603 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7578, allocations: 0 / 0.9603 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.7578, allocations: 1.031 kB / 0.9603 GB, free: 3.953 MB / 0.7169 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.001165/0.759, allocations: 0.6283 MB / 0.9609 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.7591, allocations: 9.812 kB / 0.9609 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.7591, allocations: 46.64 kB / 0.9609 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.7592, allocations: 20.44 kB / 0.9609 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.7593, allocations: 198.1 kB / 0.9611 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.7594, allocations: 124.6 kB / 0.9613 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.7595, allocations: 21.56 kB / 0.9613 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.7598, allocations: 246.1 kB / 0.9615 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.7598, allocations: 1.125 kB / 0.9615 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.7599, allocations: 7.031 kB / 0.9615 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.7599, allocations: 3.719 kB / 0.9615 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.7601, allocations: 115.7 kB / 0.9616 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.7605, allocations: 399.9 kB / 0.962 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.7618, allocations: 0.4902 MB / 0.9625 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.762, allocations: 160.6 kB / 0.9626 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.762, allocations: 21.09 kB / 0.9627 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000431/0.7624, allocations: 308.1 kB / 0.963 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.764e-06/0.7625, allocations: 1.031 kB / 0.963 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.0007685/0.7632, allocations: 409.3 kB / 0.9633 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.7633, allocations: 356.2 kB / 0.9637 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.7634, allocations: 178.9 kB / 0.9639 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.7635, allocations: 37.64 kB / 0.9639 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.7635, allocations: 100.6 kB / 0.964 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.958e-05/0.7636, allocations: 110.6 kB / 0.9641 GB, free: 420 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.7637, allocations: 52.88 kB / 0.9641 GB, free: 376 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.7637, allocations: 327.5 kB / 0.9645 GB, free: 44 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.764, allocations: 119.4 kB / 0.9646 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.7643, allocations: 167.8 kB / 0.9647 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/0.7649, allocations: 263.9 kB / 0.965 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7649, allocations: 1.438 kB / 0.965 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007312/0.7656, allocations: 379.5 kB / 0.9653 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7656, allocations: 10.66 kB / 0.9654 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.7657, allocations: 0 / 0.9654 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7657, allocations: 2.375 kB / 0.9654 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.7661, allocations: 78.38 kB / 0.9654 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7661, allocations: 6.625 kB / 0.9654 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.7664, allocations: 65.66 kB / 0.9655 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.7664, allocations: 27.64 kB / 0.9655 GB, free: 15.46 MB / 0.7325 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.0001615/0.7666, allocations: 149.5 kB / 0.9657 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.7667, allocations: 23.31 kB / 0.9657 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000703/0.7674, allocations: 366.2 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.7674, allocations: 8.406 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.7674, allocations: 3.562 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.7674, allocations: 8.109 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.7678, allocations: 353.2 kB / 0.9664 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.7678, allocations: 3.188 kB / 0.9664 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.7681, allocations: 71.06 kB / 0.9665 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.7681, allocations: 4.812 kB / 0.9665 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.7682, allocations: 23.8 kB / 0.9665 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.7682, allocations: 8.969 kB / 0.9665 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.7682, allocations: 3.25 kB / 0.9665 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.7689, allocations: 0.4941 MB / 0.967 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.7691, allocations: 145.3 kB / 0.9671 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.7692, allocations: 19.2 kB / 0.9671 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.7695, allocations: 38.67 kB / 0.9672 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.7696, allocations: 53.06 kB / 0.9672 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.7697, allocations: 24.3 kB / 0.9673 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001238/0.7698, allocations: 128.6 kB / 0.9674 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7698, allocations: 0 / 0.9674 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009087/0.7707, allocations: 220.3 kB / 0.9676 GB, free: 14.01 MB / 0.7325 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.001717/0.7724, allocations: 1.237 MB / 0.9688 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007441/0.7732, allocations: 335.9 kB / 0.9691 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7732, allocations: 0 / 0.9691 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.7736, allocations: 185 kB / 0.9693 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.7739, allocations: 41.52 kB / 0.9693 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.7781, allocations: 2.851 MB / 0.9721 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.7785, allocations: 0.7659 MB / 0.9729 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.7787, allocations: 57.44 kB / 0.9729 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.7789, allocations: 93.17 kB / 0.973 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/0.7789, allocations: 0 / 0.973 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.8055, allocations: 7.266 MB / 0.9801 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.8058, allocations: 205.2 kB / 0.9803 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.69, allocations: 0 / 0.9803 GB, free: 4.691 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)