Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_11_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.005266/0.005266, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001468/0.001468, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.596/2.596, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.86 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2656, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.00178/0.2674, allocations: 0.8902 MB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.2702, allocations: 2.48 MB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.2702, allocations: 3.938 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.2703, allocations: 11.81 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.2705, allocations: 47.61 kB / 1.224 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.2714, allocations: 0.4905 MB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.2717, allocations: 323.1 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.2717, allocations: 17.66 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.2719, allocations: 143.6 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.2722, allocations: 151.5 kB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.2722, allocations: 24 kB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006004/0.2728, allocations: 371.7 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.2729, allocations: 71.78 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.273, allocations: 111.5 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.2737, allocations: 0.5606 MB / 1.226 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2737, allocations: 0 / 1.226 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2737, allocations: 4 kB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.2737, allocations: 0 / 1.226 GB, free: 8.582 MB / 0.9825 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.001277/0.275, allocations: 0.6674 MB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.275, allocations: 8.031 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.2751, allocations: 50.67 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.2752, allocations: 24.8 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2753, allocations: 197.5 kB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.2755, allocations: 131.4 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.2755, allocations: 20.31 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.2759, allocations: 248.2 kB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2759, allocations: 3.938 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2759, allocations: 8 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.2759, allocations: 4 kB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.2762, allocations: 107.8 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.2766, allocations: 403.1 kB / 1.227 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.278, allocations: 499.3 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.2782, allocations: 158.3 kB / 1.228 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.2783, allocations: 15.92 kB / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/0.2787, allocations: 331.4 kB / 1.228 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=40): time 1.814e-06/0.2787, allocations: 0 / 1.228 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40): time 0.000787/0.2795, allocations: 409.6 kB / 1.229 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.2797, allocations: 354.6 kB / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2798, allocations: 175.3 kB / 1.229 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.2799, allocations: 41.7 kB / 1.229 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.28, allocations: 97.12 kB / 1.229 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.2801, allocations: 119 kB / 1.23 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.2802, allocations: 98.17 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2803, allocations: 326.8 kB / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.2806, allocations: 121 kB / 1.23 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.2809, allocations: 169 kB / 1.23 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.2815, allocations: 266.9 kB / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2815, allocations: 0 / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007319/0.2822, allocations: 385.1 kB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2823, allocations: 8 kB / 1.231 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2823, allocations: 0 / 1.231 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2823, allocations: 4 kB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.2826, allocations: 71.88 kB / 1.231 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2827, allocations: 4 kB / 1.231 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.2829, allocations: 55.7 kB / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.283, allocations: 19.98 kB / 1.231 GB, free: 2.496 MB / 0.9825 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.0001457/0.2831, allocations: 154.5 kB / 1.231 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.2832, allocations: 27.8 kB / 1.231 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006351/0.2838, allocations: 358.7 kB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2838, allocations: 8 kB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2839, allocations: 4.125 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.2839, allocations: 3.984 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.2843, allocations: 369 kB / 1.232 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2843, allocations: 7.938 kB / 1.232 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.2846, allocations: 71.91 kB / 1.232 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2846, allocations: 4 kB / 1.232 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.2846, allocations: 15.98 kB / 1.232 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.2846, allocations: 8 kB / 1.232 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2846, allocations: 7.875 kB / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.2853, allocations: 0.4901 MB / 1.233 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.2855, allocations: 152.7 kB / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.2855, allocations: 20 kB / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.2858, allocations: 31.97 kB / 1.233 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2859, allocations: 47.88 kB / 1.233 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.2859, allocations: 23.98 kB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.319e-05/0.286, allocations: 123.2 kB / 1.233 GB, free: 472 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.286, allocations: 4 kB / 1.233 GB, free: 468 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004895/0.2865, allocations: 223.2 kB / 1.233 GB, free: 244 kB / 0.9825 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.001351/0.2879, allocations: 1.243 MB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006178/0.2885, allocations: 339.6 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2885, allocations: 4 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.2888, allocations: 180.2 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.2891, allocations: 37.42 kB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.2926, allocations: 2.774 MB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.2929, allocations: 0.7572 MB / 1.238 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.2931, allocations: 58.56 kB / 1.238 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.2933, allocations: 91.39 kB / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.2933, allocations: 4 kB / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.423/1.716, allocations: 7.891 MB / 1.246 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.314/11.03, allocations: 20.59 kB / 1.246 GB, free: 2.766 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)