Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",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.004401/0.004401, allocations: 103.6 kB / 15.74 MB, free: 6.043 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.001233/0.001233, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002565/0.002565, allocations: 286.7 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 91.86 kB / 0.6809 GB, free: 32 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1941, allocations: 86.98 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002713/0.1968, allocations: 1.484 MB / 0.7673 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009611/0.1978, allocations: 423.4 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.1979, allocations: 4 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.198, allocations: 11.86 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.1981, allocations: 24.22 kB / 0.7678 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.1988, allocations: 247.5 kB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.1992, allocations: 323.5 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.1992, allocations: 15.92 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.1995, allocations: 199.7 kB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.1998, allocations: 112.1 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.1998, allocations: 20 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.179e-05/0.1999, allocations: 20 kB / 0.7687 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2, allocations: 79.72 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.2001, allocations: 131.3 kB / 0.7689 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.2005, allocations: 291.2 kB / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2005, allocations: 4 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2005, allocations: 3.938 kB / 0.7691 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2005, allocations: 0 / 0.7691 GB, free: 5.613 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001103/0.2016, allocations: 0.7462 MB / 0.7699 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2017, allocations: 12.03 kB / 0.7699 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.2017, allocations: 38.73 kB / 0.7699 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.495e-05/0.2018, allocations: 32.8 kB / 0.77 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.2021, allocations: 271.8 kB / 0.7702 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.2022, allocations: 16.12 kB / 0.7702 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-05/0.2023, allocations: 20 kB / 0.7702 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009716/0.2032, allocations: 200.8 kB / 0.7704 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2033, allocations: 7.922 kB / 0.7704 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.2033, allocations: 0 / 0.7704 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2033, allocations: 4 kB / 0.7705 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.2041, allocations: 99.92 kB / 0.7705 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.2045, allocations: 317.4 kB / 0.7708 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009777/0.2055, allocations: 170.4 kB / 0.771 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007093/0.2062, allocations: 108.8 kB / 0.7711 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2062, allocations: 7.984 kB / 0.7711 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009058/0.2071, allocations: 215.1 kB / 0.7713 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 5.4e-06/0.2072, allocations: 0 / 0.7713 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002407/0.2096, allocations: 451.2 kB / 0.7718 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.2096, allocations: 63.39 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.2099, allocations: 291 kB / 0.7721 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.21, allocations: 33.7 kB / 0.7721 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.2101, allocations: 93.12 kB / 0.7722 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.2101, allocations: 43.73 kB / 0.7723 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.2103, allocations: 97.58 kB / 0.7724 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2104, allocations: 322.8 kB / 0.7727 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.2106, allocations: 79.95 kB / 0.7727 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.2108, allocations: 137.9 kB / 0.7729 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.2112, allocations: 244 kB / 0.7731 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.2112, allocations: 4 kB / 0.7731 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006398/0.2118, allocations: 396.7 kB / 0.7735 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.378e-05/0.2119, allocations: 71.39 kB / 0.7736 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.212, allocations: 4 kB / 0.7736 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.212, allocations: 0 / 0.7736 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.2121, allocations: 27.92 kB / 0.7736 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2122, allocations: 4 kB / 0.7736 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.2126, allocations: 55.84 kB / 0.7736 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.2127, allocations: 51.98 kB / 0.7737 GB, free: 0.6172 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001955/0.2129, allocations: 180 kB / 0.7739 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.2129, allocations: 23.86 kB / 0.7739 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.213, allocations: 26.3 kB / 0.7739 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.213, allocations: 4 kB / 0.7739 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.213, allocations: 0 / 0.7739 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.213, allocations: 0 / 0.7739 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3246/0.5376, allocations: 0.6841 MB / 0.7746 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.5377, allocations: 1.281 kB / 0.7746 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.5377, allocations: 11.98 kB / 0.7746 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.5378, allocations: 1.5 kB / 0.7746 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.5378, allocations: 15.95 kB / 0.7746 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.5378, allocations: 2.344 kB / 0.7746 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5378, allocations: 0 / 0.7746 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.5403, allocations: 452.2 kB / 0.775 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.5406, allocations: 167.4 kB / 0.7752 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.5407, allocations: 13.17 kB / 0.7752 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/0.5414, allocations: 29.62 kB / 0.7752 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.5414, allocations: 13.52 kB / 0.7753 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/0.5415, allocations: 44.45 kB / 0.7753 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003021/0.5418, allocations: 213 kB / 0.7755 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5418, allocations: 1.125 kB / 0.7755 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000735/0.5426, allocations: 46.36 kB / 0.7755 GB, free: 14.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002817/0.5454, allocations: 0.9873 MB / 0.7765 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.5472, allocations: 379.7 kB / 0.7769 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5472, allocations: 1.703 kB / 0.7769 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.5483, allocations: 115.9 kB / 0.777 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.5489, allocations: 31.11 kB / 0.777 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.5536, allocations: 2.365 MB / 0.7793 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.5539, allocations: 0.7418 MB / 0.78 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.924e-05/0.554, allocations: 11.75 kB / 0.7801 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.554, allocations: 21.73 kB / 0.7801 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of SimCode: time 6.72e-07/0.554, allocations: 1.422 kB / 0.7801 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/0.5912, allocations: 4.816 MB / 0.7848 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/8.915, allocations: 8.25 kB / 0.7848 GB, free: 10.97 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)