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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001337/0.001337, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002106/0.002107, allocations: 196.2 kB / 16.26 MB, free: 6.629 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.88 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.635, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002064/0.6371, allocations: 0.9502 MB / 0.9502 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.6399, allocations: 2.47 MB / 0.9526 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.6401, allocations: 1.281 kB / 0.9526 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.557e-05/0.6401, allocations: 7.875 kB / 0.9526 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.6404, allocations: 41.95 kB / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.6417, allocations: 451.8 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.642, allocations: 314.1 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.6421, allocations: 23.53 kB / 0.9534 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.6424, allocations: 140.2 kB / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.6426, allocations: 147.8 kB / 0.9537 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.6426, allocations: 24.09 kB / 0.9537 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006195/0.6433, allocations: 323 kB / 0.954 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.6433, allocations: 64.84 kB / 0.9541 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.6435, allocations: 127.6 kB / 0.9542 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008254/0.6443, allocations: 0.5371 MB / 0.9547 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.6443, allocations: 0 / 0.9547 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6443, allocations: 0 / 0.9547 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.6444, allocations: 1.125 kB / 0.9547 GB, free: 5.129 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.001495/0.6459, allocations: 0.6636 MB / 0.9554 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.6459, allocations: 14.16 kB / 0.9554 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.646, allocations: 48.23 kB / 0.9554 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.6461, allocations: 18.09 kB / 0.9554 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.6462, allocations: 194.9 kB / 0.9556 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.6463, allocations: 128.6 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.6464, allocations: 18.72 kB / 0.9558 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.6467, allocations: 240.9 kB / 0.956 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.6467, allocations: 5.312 kB / 0.956 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.6467, allocations: 6.594 kB / 0.956 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.6468, allocations: 8.969 kB / 0.956 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.647, allocations: 113.6 kB / 0.9561 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.6474, allocations: 404.7 kB / 0.9565 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.6487, allocations: 0.4908 MB / 0.957 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.6489, allocations: 153.1 kB / 0.9571 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.649, allocations: 25.36 kB / 0.9571 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/0.6494, allocations: 316.8 kB / 0.9574 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 4.388e-06/0.6494, allocations: 0 / 0.9574 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.0008198/0.6503, allocations: 408.5 kB / 0.9578 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/0.6504, allocations: 363.9 kB / 0.9582 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.6505, allocations: 169.9 kB / 0.9583 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.6506, allocations: 39.11 kB / 0.9584 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.6506, allocations: 97.41 kB / 0.9585 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.6507, allocations: 112.4 kB / 0.9586 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.6508, allocations: 96.69 kB / 0.9587 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.6509, allocations: 327.1 kB / 0.959 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.6512, allocations: 122.8 kB / 0.9591 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.6515, allocations: 164.9 kB / 0.9593 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.652, allocations: 260.5 kB / 0.9595 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6521, allocations: 4.844 kB / 0.9595 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007688/0.6528, allocations: 388.5 kB / 0.9599 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6529, allocations: 4.531 kB / 0.9599 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6529, allocations: 1.188 kB / 0.9599 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.6529, allocations: 3.25 kB / 0.9599 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.6533, allocations: 81.88 kB / 0.96 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.6533, allocations: 3.188 kB / 0.96 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.6536, allocations: 54.12 kB / 0.96 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.6537, allocations: 19.61 kB / 0.96 GB, free: 0.5898 MB / 0.7169 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.0001323/0.6538, allocations: 152.3 kB / 0.9602 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.6539, allocations: 28.06 kB / 0.9602 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006378/0.6545, allocations: 358.8 kB / 0.9606 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.6545, allocations: 13.05 kB / 0.9606 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.6546, allocations: 7.594 kB / 0.9606 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6546, allocations: 3.312 kB / 0.9606 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.655, allocations: 354.8 kB / 0.9609 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.655, allocations: 2.562 kB / 0.9609 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.6553, allocations: 70.41 kB / 0.961 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.6553, allocations: 9.812 kB / 0.961 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.6554, allocations: 19.33 kB / 0.961 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/0.6554, allocations: 9.5 kB / 0.961 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.6554, allocations: 6.141 kB / 0.961 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007461/0.6561, allocations: 0.4912 MB / 0.9615 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.6563, allocations: 148 kB / 0.9617 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.6564, allocations: 19.19 kB / 0.9617 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.6567, allocations: 35.38 kB / 0.9617 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6568, allocations: 48.62 kB / 0.9618 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.6568, allocations: 29.08 kB / 0.9618 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001001/0.6569, allocations: 128.2 kB / 0.9619 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.657, allocations: 0 / 0.9619 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006741/0.6576, allocations: 212.3 kB / 0.9621 GB, free: 15.12 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.001563/0.6592, allocations: 1.249 MB / 0.9633 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007568/0.66, allocations: 355.8 kB / 0.9637 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.66, allocations: 0 / 0.9637 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.6603, allocations: 191.7 kB / 0.9638 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.6606, allocations: 34.97 kB / 0.9639 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.6648, allocations: 2.843 MB / 0.9667 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.6652, allocations: 0.7583 MB / 0.9674 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002557/0.6654, allocations: 58.02 kB / 0.9675 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.6656, allocations: 97.95 kB / 0.9675 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.6656, allocations: 4 kB / 0.9676 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.6885, allocations: 7.561 MB / 0.9749 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.6887, allocations: 221 kB / 0.9751 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.721, allocations: 4.047 kB / 0.9751 GB, free: 6.617 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)