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.008655/0.008656, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.002512/0.002513, allocations: 195 kB / 16.67 MB, free: 5.934 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002503/0.002503, allocations: 285.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.984/0.984, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 88.09 kB / 0.6809 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4328, allocations: 86.99 MB / 0.7659 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002787/0.4357, allocations: 1.484 MB / 0.7673 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009553/0.4366, allocations: 429 kB / 0.7677 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.4367, allocations: 0 / 0.7677 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.4368, allocations: 11.86 kB / 0.7677 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.077e-05/0.4369, allocations: 20.25 kB / 0.7678 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.4376, allocations: 255.1 kB / 0.768 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.438, allocations: 331.5 kB / 0.7683 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.4381, allocations: 4 kB / 0.7683 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.4384, allocations: 211.6 kB / 0.7685 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.4386, allocations: 108.1 kB / 0.7686 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.562e-05/0.4387, allocations: 20 kB / 0.7687 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.04e-05/0.4388, allocations: 20 kB / 0.7687 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.4389, allocations: 83.72 kB / 0.7688 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.439, allocations: 123.4 kB / 0.7689 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.4394, allocations: 292.1 kB / 0.7691 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4394, allocations: 0 / 0.7691 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4394, allocations: 0 / 0.7691 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4394, allocations: 4 kB / 0.7692 GB, free: 0.6523 MB / 0.5294 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.001181/0.4406, allocations: 0.7539 MB / 0.7699 GB, free: 15.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4407, allocations: 8.031 kB / 0.7699 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.775e-05/0.4407, allocations: 38.75 kB / 0.7699 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.932e-05/0.4408, allocations: 36.78 kB / 0.77 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.4412, allocations: 259.7 kB / 0.7702 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.4412, allocations: 24.11 kB / 0.7702 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.4413, allocations: 16 kB / 0.7703 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009195/0.4422, allocations: 205.5 kB / 0.7705 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4422, allocations: 0 / 0.7705 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.4423, allocations: 3.984 kB / 0.7705 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4423, allocations: 0 / 0.7705 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007254/0.443, allocations: 103.9 kB / 0.7706 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.4434, allocations: 309.4 kB / 0.7708 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009734/0.4444, allocations: 174.4 kB / 0.771 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.4451, allocations: 109.2 kB / 0.7711 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.4451, allocations: 0 / 0.7711 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000894/0.446, allocations: 215.1 kB / 0.7713 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 3.567e-06/0.446, allocations: 3.984 kB / 0.7713 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002436/0.4485, allocations: 456.4 kB / 0.7718 GB, free: 13.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.4485, allocations: 63.38 kB / 0.7718 GB, free: 13.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.4489, allocations: 287 kB / 0.7721 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.4489, allocations: 37.7 kB / 0.7721 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.449, allocations: 93.12 kB / 0.7722 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/0.4491, allocations: 39.64 kB / 0.7723 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.4492, allocations: 97.58 kB / 0.7724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4494, allocations: 322.8 kB / 0.7727 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.4496, allocations: 87.94 kB / 0.7727 GB, free: 12.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.4498, allocations: 130 kB / 0.7729 GB, free: 12.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.4502, allocations: 243.7 kB / 0.7731 GB, free: 12.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4502, allocations: 3.938 kB / 0.7731 GB, free: 12.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006962/0.4509, allocations: 388.7 kB / 0.7735 GB, free: 11.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.52e-05/0.451, allocations: 79.56 kB / 0.7736 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.451, allocations: 4 kB / 0.7736 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.451, allocations: 7.938 kB / 0.7736 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.4512, allocations: 19.98 kB / 0.7736 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4512, allocations: 0 / 0.7736 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.4517, allocations: 55.84 kB / 0.7736 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.4517, allocations: 47.92 kB / 0.7737 GB, free: 11.67 MB / 0.545 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.0001997/0.4519, allocations: 172 kB / 0.7738 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.452, allocations: 23.84 kB / 0.7739 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.4521, allocations: 30.3 kB / 0.7739 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.4521, allocations: 0 / 0.7739 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4521, allocations: 4 kB / 0.7739 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4521, allocations: 3.938 kB / 0.7739 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.4541, allocations: 0.6936 MB / 0.7746 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4541, allocations: 0 / 0.7746 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.4542, allocations: 7.984 kB / 0.7746 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4542, allocations: 0 / 0.7746 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.4542, allocations: 15.98 kB / 0.7746 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.4542, allocations: 7.922 kB / 0.7746 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4542, allocations: 0 / 0.7746 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.456, allocations: 451.5 kB / 0.775 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.4562, allocations: 160.8 kB / 0.7752 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.4563, allocations: 20 kB / 0.7752 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.4567, allocations: 27.97 kB / 0.7752 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.4568, allocations: 11.92 kB / 0.7753 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.4568, allocations: 47.97 kB / 0.7753 GB, free: 9.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002164/0.457, allocations: 209.9 kB / 0.7755 GB, free: 9.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4571, allocations: 0 / 0.7755 GB, free: 9.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003529/0.4574, allocations: 44 kB / 0.7755 GB, free: 9.664 MB / 0.545 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.001996/0.4594, allocations: 0.9997 MB / 0.7765 GB, free: 8.641 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.4606, allocations: 378.5 kB / 0.7769 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4606, allocations: 0 / 0.7769 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.4613, allocations: 116.3 kB / 0.777 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.4617, allocations: 24.58 kB / 0.777 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.4655, allocations: 2.365 MB / 0.7793 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.4659, allocations: 0.7396 MB / 0.78 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.723e-05/0.466, allocations: 21.06 kB / 0.7801 GB, free: 4.828 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.4661, allocations: 27.42 kB / 0.7801 GB, free: 4.801 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.4661, allocations: 3.938 kB / 0.7801 GB, free: 4.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.4929, allocations: 4.8 MB / 0.7848 GB, free: 156 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.501, allocations: 10.98 kB / 0.7848 GB, free: 152 kB / 0.545 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)