Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_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.001056/0.00106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001085/0.001085, allocations: 192.7 kB / 16.14 MB, free: 6.719 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.58/2.58, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001666, allocations: 62.75 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2754, allocations: 157.4 MB / 1.052 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002046/0.2775, allocations: 0.955 MB / 1.053 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.2805, allocations: 2.529 MB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.2807, allocations: 4 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.897e-05/0.2807, allocations: 7.875 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.281, allocations: 55.66 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.2821, allocations: 406.9 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.2824, allocations: 307.1 kB / 1.056 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.2824, allocations: 13.67 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.2827, allocations: 127.7 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.2829, allocations: 147.5 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.2829, allocations: 15.94 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.2835, allocations: 299.8 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.2836, allocations: 63.77 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2837, allocations: 111.5 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008431/0.2846, allocations: 0.534 MB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2846, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2846, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.2846, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 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.001456/0.2861, allocations: 0.6684 MB / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.2861, allocations: 11.97 kB / 1.058 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.865e-05/0.2862, allocations: 50.73 kB / 1.058 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/0.2863, allocations: 24.66 kB / 1.058 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.2865, allocations: 197.4 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.2867, allocations: 127.4 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.2867, allocations: 20.38 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.2871, allocations: 248.2 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2871, allocations: 4 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.2871, allocations: 4 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2872, allocations: 4 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.2874, allocations: 115.7 kB / 1.059 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.2878, allocations: 403.1 kB / 1.059 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.2892, allocations: 491.3 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.2894, allocations: 154.3 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.2895, allocations: 15.86 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004799/0.29, allocations: 315.6 kB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.29, allocations: 0 / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0008281/0.2908, allocations: 417.8 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.291, allocations: 350.6 kB / 1.061 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2911, allocations: 175.2 kB / 1.061 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.2911, allocations: 37.7 kB / 1.061 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.2912, allocations: 97.12 kB / 1.061 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/0.2913, allocations: 110.5 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.2914, allocations: 94.22 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.2915, allocations: 330.8 kB / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.2918, allocations: 121 kB / 1.062 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.2921, allocations: 168.9 kB / 1.062 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.2926, allocations: 265.3 kB / 1.062 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2927, allocations: 7.938 kB / 1.062 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007306/0.2934, allocations: 378.4 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2934, allocations: 8 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2934, allocations: 0 / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2934, allocations: 4 kB / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.2938, allocations: 75.88 kB / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.2939, allocations: 7.938 kB / 1.063 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.2941, allocations: 51.66 kB / 1.063 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.2942, allocations: 19.98 kB / 1.063 GB, free: 12.55 MB / 0.8262 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.0001468/0.2943, allocations: 150.5 kB / 1.063 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.2944, allocations: 31.64 kB / 1.063 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006579/0.2951, allocations: 362 kB / 1.063 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.2951, allocations: 12 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2951, allocations: 3.938 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.2951, allocations: 4 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.2955, allocations: 364.9 kB / 1.064 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2955, allocations: 320 / 1.064 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.2958, allocations: 71.91 kB / 1.064 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.2958, allocations: 4 kB / 1.064 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.2959, allocations: 27.98 kB / 1.064 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.2959, allocations: 7.938 kB / 1.064 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.2959, allocations: 4 kB / 1.064 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.2965, allocations: 497.8 kB / 1.064 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.2967, allocations: 144.6 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.2968, allocations: 23.92 kB / 1.065 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.297, allocations: 27.98 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2971, allocations: 55.81 kB / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.2972, allocations: 23.98 kB / 1.065 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.997e-05/0.2973, allocations: 127.2 kB / 1.065 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2973, allocations: 0 / 1.065 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005699/0.2979, allocations: 219.7 kB / 1.065 GB, free: 10.29 MB / 0.8262 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.001358/0.2992, allocations: 1.236 MB / 1.066 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006062/0.2998, allocations: 335.5 kB / 1.067 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2999, allocations: 0 / 1.067 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.3001, allocations: 187.9 kB / 1.067 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3004, allocations: 39.92 kB / 1.067 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.304, allocations: 2.844 MB / 1.07 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3043, allocations: 0.7614 MB / 1.07 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.3045, allocations: 50.44 kB / 1.07 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.3047, allocations: 99.31 kB / 1.07 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.3047, allocations: 0 / 1.07 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.323, allocations: 7.416 MB / 1.078 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.3233, allocations: 240.1 kB / 1.078 GB, free: 13 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.186, allocations: 5.719 kB / 1.078 GB, free: 12.99 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)