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.005264/0.005264, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001056/0.001056, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002262/0.002262, allocations: 294.1 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.9267/0.9267, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 96.05 kB / 0.6809 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4483, allocations: 86.97 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.003643/0.4519, allocations: 1.48 MB / 0.7673 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.4533, allocations: 437.1 kB / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.4534, allocations: 0 / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.731e-05/0.4535, allocations: 11.86 kB / 0.7677 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.4536, allocations: 20.25 kB / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.4544, allocations: 254.8 kB / 0.768 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.4549, allocations: 323.5 kB / 0.7683 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.4549, allocations: 8 kB / 0.7683 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.4553, allocations: 203.6 kB / 0.7685 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.4556, allocations: 120.1 kB / 0.7686 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.662e-05/0.4558, allocations: 20 kB / 0.7686 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.4558, allocations: 16 kB / 0.7687 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.456, allocations: 83.72 kB / 0.7687 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.4561, allocations: 127.4 kB / 0.7689 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.4566, allocations: 292.1 kB / 0.7691 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4566, allocations: 0 / 0.7691 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4566, allocations: 0 / 0.7691 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.4566, allocations: 0 / 0.7691 GB, free: 0.5273 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.001387/0.458, allocations: 0.7539 MB / 0.7699 GB, free: 15.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4581, allocations: 8.031 kB / 0.7699 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.4581, allocations: 34.75 kB / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.4583, allocations: 32.78 kB / 0.77 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.4586, allocations: 271.7 kB / 0.7702 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.4587, allocations: 24.11 kB / 0.7702 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.4588, allocations: 16 kB / 0.7702 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009779/0.4597, allocations: 201.4 kB / 0.7704 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4598, allocations: 4 kB / 0.7704 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.4598, allocations: 4 kB / 0.7704 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.4598, allocations: 0 / 0.7704 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.4606, allocations: 95.86 kB / 0.7705 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.461, allocations: 317.4 kB / 0.7708 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.4621, allocations: 174.4 kB / 0.771 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/0.4629, allocations: 109.2 kB / 0.7711 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.4629, allocations: 0 / 0.7711 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009997/0.4639, allocations: 211.1 kB / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 3.106e-06/0.4639, allocations: 3.984 kB / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002509/0.4664, allocations: 456.5 kB / 0.7718 GB, free: 13.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.4665, allocations: 63.38 kB / 0.7718 GB, free: 13.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.4668, allocations: 291 kB / 0.7721 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.4669, allocations: 33.7 kB / 0.7721 GB, free: 13.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.4669, allocations: 97.12 kB / 0.7722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.467, allocations: 43.62 kB / 0.7723 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.4672, allocations: 93.58 kB / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4673, allocations: 318.8 kB / 0.7727 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.4675, allocations: 83.94 kB / 0.7727 GB, free: 12.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.4677, allocations: 136.4 kB / 0.7729 GB, free: 12.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.4681, allocations: 247.4 kB / 0.7731 GB, free: 12.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4681, allocations: 0 / 0.7731 GB, free: 12.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006839/0.4688, allocations: 387.3 kB / 0.7735 GB, free: 11.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/0.4689, allocations: 86.12 kB / 0.7735 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4689, allocations: 0 / 0.7735 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4689, allocations: 4 kB / 0.7736 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.4691, allocations: 20.11 kB / 0.7736 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4691, allocations: 8 kB / 0.7736 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.4696, allocations: 55.84 kB / 0.7736 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.4697, allocations: 39.98 kB / 0.7737 GB, free: 11.55 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.0002054/0.4699, allocations: 171.9 kB / 0.7738 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.4699, allocations: 27.86 kB / 0.7739 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.47, allocations: 34.23 kB / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.47, allocations: 0 / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.47, allocations: 0 / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.47, allocations: 0 / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.4722, allocations: 0.6975 MB / 0.7746 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4722, allocations: 4 kB / 0.7746 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.4722, allocations: 3.984 kB / 0.7746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4722, allocations: 4 kB / 0.7746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.4723, allocations: 15.97 kB / 0.7746 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4723, allocations: 0 / 0.7746 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4723, allocations: 3.938 kB / 0.7746 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.474, allocations: 455.5 kB / 0.775 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.4743, allocations: 164.8 kB / 0.7752 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-05/0.4743, allocations: 8 kB / 0.7752 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/0.4748, allocations: 35.97 kB / 0.7752 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.4748, allocations: 11.92 kB / 0.7753 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/0.4749, allocations: 43.97 kB / 0.7753 GB, free: 9.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001929/0.4751, allocations: 213.9 kB / 0.7755 GB, free: 9.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4751, allocations: 0 / 0.7755 GB, free: 9.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003341/0.4755, allocations: 44 kB / 0.7755 GB, free: 9.539 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.001926/0.4774, allocations: 0.9965 MB / 0.7765 GB, free: 8.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.4785, allocations: 386.4 kB / 0.7769 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4785, allocations: 0 / 0.7769 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/0.4793, allocations: 111.9 kB / 0.777 GB, free: 8.008 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.4796, allocations: 25.77 kB / 0.777 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.483, allocations: 2.365 MB / 0.7793 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.4833, allocations: 0.7473 MB / 0.7801 GB, free: 4.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.119e-05/0.4833, allocations: 17.06 kB / 0.7801 GB, free: 4.699 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.4834, allocations: 23.42 kB / 0.7801 GB, free: 4.676 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.4834, allocations: 4 kB / 0.7801 GB, free: 4.672 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.5036, allocations: 4.8 MB / 0.7848 GB, free: 28 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/8.136, allocations: 9.219 kB / 0.7848 GB, free: 24 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)