Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.006173/0.006173, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001438/0.001438, allocations: 193.8 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002844/0.002844, allocations: 278.5 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004481/0.004481, allocations: 94.41 kB / 0.6943 GB, free: 3.617 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5968/0.6013, allocations: 89.15 MB / 0.7813 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002964/0.6043, allocations: 1.526 MB / 0.7828 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.6057, allocations: 0.5476 MB / 0.7833 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.6058, allocations: 7.406 kB / 0.7833 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.6059, allocations: 5.578 kB / 0.7834 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.6061, allocations: 23.52 kB / 0.7834 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009157/0.607, allocations: 317.1 kB / 0.7837 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.6076, allocations: 0.4974 MB / 0.7842 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.6077, allocations: 10.44 kB / 0.7842 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003856/0.6081, allocations: 275.8 kB / 0.7844 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.6084, allocations: 140.2 kB / 0.7846 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.291e-05/0.6085, allocations: 26.47 kB / 0.7846 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.6086, allocations: 26.62 kB / 0.7846 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.6087, allocations: 119.5 kB / 0.7847 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.609, allocations: 180.5 kB / 0.7849 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.6095, allocations: 426.3 kB / 0.7853 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6095, allocations: 5.062 kB / 0.7853 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6095, allocations: 0 / 0.7853 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.6095, allocations: 0 / 0.7853 GB, free: 11.6 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.001343/0.6108, allocations: 0.8776 MB / 0.7862 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.6109, allocations: 8.688 kB / 0.7862 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.611, allocations: 44.17 kB / 0.7862 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.6111, allocations: 51.55 kB / 0.7863 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.6115, allocations: 316.9 kB / 0.7866 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.6116, allocations: 17.12 kB / 0.7866 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.6116, allocations: 29.95 kB / 0.7866 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009888/0.6126, allocations: 211.5 kB / 0.7868 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6127, allocations: 3.938 kB / 0.7868 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.6127, allocations: 6.859 kB / 0.7868 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6127, allocations: 1.062 kB / 0.7868 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.6135, allocations: 96.64 kB / 0.7869 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.6141, allocations: 391.7 kB / 0.7873 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.6151, allocations: 187.9 kB / 0.7875 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/0.6159, allocations: 107.5 kB / 0.7876 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.6159, allocations: 2.125 kB / 0.7876 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.617, allocations: 230.8 kB / 0.7878 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.617, allocations: 3.938 kB / 0.7878 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002851/0.6198, allocations: 486.2 kB / 0.7883 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.6199, allocations: 61.7 kB / 0.7883 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/0.6205, allocations: 411.8 kB / 0.7887 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.814e-05/0.6206, allocations: 39.95 kB / 0.7888 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.6207, allocations: 98.16 kB / 0.7889 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.6208, allocations: 46.5 kB / 0.7889 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.6211, allocations: 127.2 kB / 0.789 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6213, allocations: 322.3 kB / 0.7893 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.6216, allocations: 119 kB / 0.7894 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.6219, allocations: 170 kB / 0.7896 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.6224, allocations: 279.1 kB / 0.7899 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6224, allocations: 4 kB / 0.7899 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009963/0.6234, allocations: 487 kB / 0.7903 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.6236, allocations: 94.72 kB / 0.7904 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6236, allocations: 2.312 kB / 0.7904 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.6236, allocations: 2.438 kB / 0.7904 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.6238, allocations: 24.05 kB / 0.7905 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.6238, allocations: 2.156 kB / 0.7905 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.6244, allocations: 60.09 kB / 0.7905 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.6245, allocations: 61.14 kB / 0.7906 GB, free: 8.434 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.0004067/0.6249, allocations: 195.2 kB / 0.7908 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.625, allocations: 45.64 kB / 0.7908 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-05/0.6251, allocations: 41.7 kB / 0.7908 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.6252, allocations: 1.125 kB / 0.7908 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.6252, allocations: 5.859 kB / 0.7908 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6252, allocations: 0.7031 kB / 0.7908 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.6276, allocations: 0.7494 MB / 0.7916 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6277, allocations: 5.188 kB / 0.7916 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.6277, allocations: 4.656 kB / 0.7916 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.6277, allocations: 1.156 kB / 0.7916 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.6278, allocations: 18.92 kB / 0.7916 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.6278, allocations: 1.094 kB / 0.7916 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6278, allocations: 0.5625 kB / 0.7916 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.6296, allocations: 476.7 kB / 0.7921 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.6299, allocations: 204.3 kB / 0.7923 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.63, allocations: 10.16 kB / 0.7923 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.6305, allocations: 28.59 kB / 0.7923 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.6305, allocations: 12.8 kB / 0.7923 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.916e-05/0.6306, allocations: 59.36 kB / 0.7924 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003999/0.631, allocations: 295.5 kB / 0.7926 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/0.631, allocations: 0 / 0.7926 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004667/0.6315, allocations: 72 kB / 0.7927 GB, free: 7.328 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.002211/0.6337, allocations: 1.024 MB / 0.7937 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.6352, allocations: 442.8 kB / 0.7941 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6353, allocations: 0 / 0.7941 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.6361, allocations: 117 kB / 0.7943 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.6365, allocations: 33.67 kB / 0.7943 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/0.6411, allocations: 2.805 MB / 0.797 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.6416, allocations: 0.7672 MB / 0.7978 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.581e-05/0.6417, allocations: 13.08 kB / 0.7978 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.6418, allocations: 30.39 kB / 0.7978 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.6418, allocations: 0 / 0.7978 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.6736, allocations: 6.143 MB / 0.8038 GB, free: 268 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.694, allocations: 5.375 kB / 0.8038 GB, free: 264 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)