Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.001632/0.001632, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.288/2.288, allocations: 390.3 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 59.91 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.625/0.6264, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.00192/0.6284, allocations: 0.889 MB / 0.9506 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.6307, allocations: 2.474 MB / 0.953 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.6308, allocations: 1.031 kB / 0.953 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.6308, allocations: 11.81 kB / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.631, allocations: 58.23 kB / 0.9531 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.6319, allocations: 0.4917 MB / 0.9536 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.6322, allocations: 313.5 kB / 0.9539 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.469e-05/0.6323, allocations: 16.52 kB / 0.9539 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.6324, allocations: 140.2 kB / 0.954 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.6326, allocations: 151.3 kB / 0.9542 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.6327, allocations: 28.47 kB / 0.9542 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.6332, allocations: 311.1 kB / 0.9545 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.6333, allocations: 68.72 kB / 0.9546 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.6334, allocations: 120.1 kB / 0.9547 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.634, allocations: 0.5426 MB / 0.9552 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.634, allocations: 0 / 0.9552 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.634, allocations: 0 / 0.9552 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.634, allocations: 0 / 0.9552 GB, free: 5.172 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.001228/0.6352, allocations: 0.6638 MB / 0.9558 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6353, allocations: 10.66 kB / 0.9559 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.6353, allocations: 50.39 kB / 0.9559 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.6354, allocations: 20.25 kB / 0.9559 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.469e-05/0.6355, allocations: 194.4 kB / 0.9561 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.6357, allocations: 133 kB / 0.9562 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.6357, allocations: 19.09 kB / 0.9563 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.636, allocations: 250 kB / 0.9565 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.636, allocations: 3.938 kB / 0.9565 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.6361, allocations: 6.844 kB / 0.9565 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.6361, allocations: 4.188 kB / 0.9565 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.6363, allocations: 118.5 kB / 0.9566 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.6366, allocations: 397.4 kB / 0.957 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.638, allocations: 499.5 kB / 0.9575 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.6382, allocations: 155.8 kB / 0.9576 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.6382, allocations: 21.34 kB / 0.9576 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.6386, allocations: 312.2 kB / 0.9579 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.6386, allocations: 0 / 0.9579 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.0007772/0.6394, allocations: 410.5 kB / 0.9583 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.6395, allocations: 350.5 kB / 0.9587 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.6396, allocations: 173.9 kB / 0.9588 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.6397, allocations: 47.17 kB / 0.9589 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.6397, allocations: 96.5 kB / 0.959 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.347e-05/0.6398, allocations: 113.7 kB / 0.9591 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.6399, allocations: 96.19 kB / 0.9592 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.64, allocations: 328 kB / 0.9595 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.6402, allocations: 119.4 kB / 0.9596 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.6405, allocations: 171.8 kB / 0.9598 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.641, allocations: 258.1 kB / 0.96 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6411, allocations: 0.8438 kB / 0.96 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006999/0.6418, allocations: 387.9 kB / 0.9604 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6418, allocations: 5.656 kB / 0.9604 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6418, allocations: 1.125 kB / 0.9604 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.6418, allocations: 7.469 kB / 0.9604 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.6422, allocations: 73.75 kB / 0.9605 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.6422, allocations: 6.812 kB / 0.9605 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.6425, allocations: 53.44 kB / 0.9605 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.6425, allocations: 20.98 kB / 0.9605 GB, free: 0.6367 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.0001135/0.6427, allocations: 156.5 kB / 0.9607 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.6427, allocations: 30.95 kB / 0.9607 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/0.6433, allocations: 355.1 kB / 0.9611 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.6434, allocations: 12.28 kB / 0.9611 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.6434, allocations: 7.781 kB / 0.9611 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6434, allocations: 2.406 kB / 0.9611 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.6437, allocations: 355.2 kB / 0.9614 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6437, allocations: 2.562 kB / 0.9614 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.644, allocations: 70.41 kB / 0.9615 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6441, allocations: 5.594 kB / 0.9615 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.6441, allocations: 15.67 kB / 0.9615 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.6441, allocations: 8.812 kB / 0.9615 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6441, allocations: 3.219 kB / 0.9615 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.6448, allocations: 0.5063 MB / 0.962 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.645, allocations: 145.2 kB / 0.9622 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.645, allocations: 26.52 kB / 0.9622 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.6453, allocations: 26.7 kB / 0.9622 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/0.6454, allocations: 50 kB / 0.9622 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.6454, allocations: 27.7 kB / 0.9623 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.826e-05/0.6455, allocations: 124.2 kB / 0.9624 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6455, allocations: 1.344 kB / 0.9624 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006079/0.6461, allocations: 218.6 kB / 0.9626 GB, free: 15.16 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.001423/0.6476, allocations: 1.244 MB / 0.9638 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006898/0.6483, allocations: 354 kB / 0.9642 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6483, allocations: 0.75 kB / 0.9642 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.6486, allocations: 192.7 kB / 0.9643 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.6489, allocations: 33.89 kB / 0.9644 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.6527, allocations: 2.757 MB / 0.9671 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.653, allocations: 0.7576 MB / 0.9678 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.6533, allocations: 62.64 kB / 0.9679 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.6534, allocations: 93.83 kB / 0.968 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.6534, allocations: 0 / 0.968 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.6806, allocations: 7.794 MB / 0.9756 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.285, allocations: 15.64 kB / 0.9756 GB, free: 6.516 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)