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.008756/0.008756, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.002048/0.002048, allocations: 190.6 kB / 16.67 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002531/0.002531, allocations: 291.6 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 1.329/1.329, allocations: 178.5 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 103.8 kB / 0.6943 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.51, allocations: 89.11 MB / 0.7813 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002571/0.5126, allocations: 1.533 MB / 0.7828 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.514, allocations: 0.5496 MB / 0.7833 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.514, allocations: 1.531 kB / 0.7833 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.994e-05/0.5142, allocations: 7.875 kB / 0.7833 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.5143, allocations: 27.09 kB / 0.7834 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.515, allocations: 314.3 kB / 0.7837 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.5156, allocations: 0.5004 MB / 0.7842 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.5157, allocations: 14.45 kB / 0.7842 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.5161, allocations: 271.9 kB / 0.7844 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.5164, allocations: 139.9 kB / 0.7846 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.5165, allocations: 30.25 kB / 0.7846 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.681e-05/0.5166, allocations: 26.44 kB / 0.7846 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.5168, allocations: 120 kB / 0.7847 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.517, allocations: 181.9 kB / 0.7849 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.5175, allocations: 421.5 kB / 0.7853 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.5176, allocations: 0 / 0.7853 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5176, allocations: 3.938 kB / 0.7853 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.5176, allocations: 1 kB / 0.7853 GB, free: 14.27 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.00141/0.519, allocations: 0.882 MB / 0.7862 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.5191, allocations: 13.53 kB / 0.7862 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.917e-05/0.5191, allocations: 41.05 kB / 0.7862 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.5193, allocations: 50.45 kB / 0.7863 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.5196, allocations: 313.8 kB / 0.7866 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/0.5197, allocations: 10.75 kB / 0.7866 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.5198, allocations: 30.52 kB / 0.7866 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009852/0.5208, allocations: 210.1 kB / 0.7868 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5208, allocations: 11.88 kB / 0.7868 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.5208, allocations: 1.062 kB / 0.7868 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5208, allocations: 2.156 kB / 0.7868 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/0.5216, allocations: 98.77 kB / 0.7869 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.5221, allocations: 392.4 kB / 0.7873 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.5232, allocations: 185.4 kB / 0.7875 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/0.5239, allocations: 107.7 kB / 0.7876 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.524, allocations: 10.34 kB / 0.7876 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.525, allocations: 225 kB / 0.7878 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.464e-06/0.525, allocations: 0 / 0.7878 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002688/0.5277, allocations: 488.4 kB / 0.7883 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.5278, allocations: 55.38 kB / 0.7883 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.5283, allocations: 422.1 kB / 0.7887 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/0.5284, allocations: 37.42 kB / 0.7888 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/0.5285, allocations: 96.41 kB / 0.7888 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.5285, allocations: 37.81 kB / 0.7889 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.5288, allocations: 131 kB / 0.789 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.529, allocations: 322.3 kB / 0.7893 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.5292, allocations: 116.5 kB / 0.7894 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.5296, allocations: 179.6 kB / 0.7896 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.53, allocations: 274.9 kB / 0.7899 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.53, allocations: 1.188 kB / 0.7899 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008387/0.5308, allocations: 489.3 kB / 0.7903 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.993e-05/0.5309, allocations: 88.41 kB / 0.7904 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.5309, allocations: 1.562 kB / 0.7904 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.5309, allocations: 6.578 kB / 0.7904 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.5311, allocations: 26.73 kB / 0.7904 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5311, allocations: 2.562 kB / 0.7904 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.5316, allocations: 57.94 kB / 0.7905 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.5317, allocations: 57.17 kB / 0.7906 GB, free: 10.41 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.0002526/0.532, allocations: 206.4 kB / 0.7908 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.5321, allocations: 44.78 kB / 0.7908 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252e-05/0.5322, allocations: 38.97 kB / 0.7908 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5322, allocations: 2.531 kB / 0.7908 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5322, allocations: 0 / 0.7908 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.5322, allocations: 5.359 kB / 0.7908 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.5344, allocations: 0.7494 MB / 0.7916 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.5344, allocations: 1 kB / 0.7916 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.5345, allocations: 7.562 kB / 0.7916 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5345, allocations: 1.156 kB / 0.7916 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.5345, allocations: 23.91 kB / 0.7916 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5345, allocations: 0 / 0.7916 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5346, allocations: 1.125 kB / 0.7916 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.5363, allocations: 473.8 kB / 0.7921 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.5366, allocations: 199.6 kB / 0.7922 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.5367, allocations: 12.59 kB / 0.7923 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.5372, allocations: 35.67 kB / 0.7923 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.5372, allocations: 12.55 kB / 0.7923 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.5373, allocations: 57.61 kB / 0.7924 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003183/0.5376, allocations: 294 kB / 0.7926 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.295e-06/0.5376, allocations: 0 / 0.7926 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003679/0.538, allocations: 69.83 kB / 0.7927 GB, free: 8.984 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.002118/0.5401, allocations: 1.023 MB / 0.7937 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.5414, allocations: 444.5 kB / 0.7941 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5414, allocations: 0 / 0.7941 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000761/0.5422, allocations: 117.9 kB / 0.7942 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.5426, allocations: 29.22 kB / 0.7943 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.5468, allocations: 2.792 MB / 0.797 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.5473, allocations: 0.7704 MB / 0.7977 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.692e-05/0.5473, allocations: 20.77 kB / 0.7978 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.5474, allocations: 17.56 kB / 0.7978 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of SimCode: time 2.384e-06/0.5474, allocations: 1.594 kB / 0.7978 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.5765, allocations: 6.149 MB / 0.8038 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.642, allocations: 7.062 kB / 0.8038 GB, free: 1.102 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 & 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)