Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_10_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.004872/0.004872, 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.00142/0.00142, allocations: 202.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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.367 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.53/2.53, allocations: 437.1 MB / 0.7106 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 71.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2686, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.00189/0.2705, allocations: 0.906 MB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003035/0.2736, allocations: 2.474 MB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.2737, allocations: 8 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.2737, allocations: 11.81 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.2739, allocations: 51.55 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.275, allocations: 0.4947 MB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003695/0.2754, allocations: 327 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.2755, allocations: 13.67 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.2757, allocations: 135.7 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.2759, allocations: 151.5 kB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.276, allocations: 24 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006619/0.2767, allocations: 371.7 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.862e-05/0.2768, allocations: 75.78 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.2769, allocations: 115.5 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.2776, allocations: 0.5412 MB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2776, allocations: 11.98 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2777, allocations: 3.938 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2777, allocations: 0 / 1.172 GB, free: 1.547 MB / 0.92 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.001363/0.279, allocations: 0.6597 MB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2791, allocations: 12.02 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.2791, allocations: 46.73 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.2792, allocations: 28.8 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2794, allocations: 197.4 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.2795, allocations: 131.4 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.2796, allocations: 16.38 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.28, allocations: 243.6 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.28, allocations: 4 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.28, allocations: 7.938 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.28, allocations: 4 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.2803, allocations: 119.8 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.2807, allocations: 387.2 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.2822, allocations: 495.3 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.2824, allocations: 162.2 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.2824, allocations: 15.92 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004697/0.2829, allocations: 319.5 kB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=40): time 2.615e-06/0.2829, allocations: 0 / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.0008303/0.2838, allocations: 409.9 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/0.284, allocations: 354.6 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2841, allocations: 172 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.2842, allocations: 37.7 kB / 1.175 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.2842, allocations: 101.1 kB / 1.175 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2844, allocations: 111.1 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.2845, allocations: 98.22 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2846, allocations: 330.8 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.2849, allocations: 121 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.2853, allocations: 173 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.2858, allocations: 255.1 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.2858, allocations: 8 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007777/0.2866, allocations: 389 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2866, allocations: 8 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2867, allocations: 0 / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2867, allocations: 4 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.2871, allocations: 79.81 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.2871, allocations: 4 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.2873, allocations: 55.7 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.2874, allocations: 19.98 kB / 1.177 GB, free: 11.48 MB / 0.9356 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.0001646/0.2876, allocations: 153.7 kB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.2876, allocations: 31.78 kB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/0.2883, allocations: 359 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.2883, allocations: 12 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2883, allocations: 0 / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.2883, allocations: 7.984 kB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.2887, allocations: 357.1 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2888, allocations: 4 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.289, allocations: 71.89 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.2891, allocations: 4 kB / 1.178 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.2891, allocations: 19.94 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.2891, allocations: 4.25 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.2891, allocations: 4 kB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000721/0.2898, allocations: 0.5096 MB / 1.179 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.29, allocations: 144.8 kB / 1.179 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.2901, allocations: 23.92 kB / 1.179 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.2903, allocations: 27.97 kB / 1.179 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.2904, allocations: 51.83 kB / 1.179 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.2904, allocations: 23.98 kB / 1.179 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001057/0.2906, allocations: 135.8 kB / 1.179 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.2906, allocations: 0 / 1.179 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005307/0.2911, allocations: 219.2 kB / 1.179 GB, free: 9.215 MB / 0.9356 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.001438/0.2925, allocations: 1.247 MB / 1.18 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006335/0.2932, allocations: 335.2 kB / 1.181 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2932, allocations: 0 / 1.181 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.2935, allocations: 188.4 kB / 1.181 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.2938, allocations: 31.94 kB / 1.181 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.2974, allocations: 2.772 MB / 1.184 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.2978, allocations: 0.7649 MB / 1.184 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.298, allocations: 50.58 kB / 1.184 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.2982, allocations: 95.39 kB / 1.184 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.2982, allocations: 0 / 1.184 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.327, allocations: 7.897 MB / 1.192 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.467, allocations: 18.33 kB / 1.192 GB, free: 11.75 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)