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.004931/0.004931, allocations: 94.98 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.001124/0.001124, allocations: 200 kB / 16.68 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 283 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9473/0.9473, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003267/0.003267, allocations: 96.36 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1954, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003909/0.1994, allocations: 1.485 MB / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2008, allocations: 429.5 kB / 0.7677 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.201, allocations: 0 / 0.7677 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.2012, allocations: 11.92 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.2014, allocations: 20.22 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.2023, allocations: 258.3 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.2027, allocations: 323.5 kB / 0.7683 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.2028, allocations: 7.984 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.2032, allocations: 203.6 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.2035, allocations: 122.5 kB / 0.7686 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.2036, allocations: 16 kB / 0.7687 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.2036, allocations: 20 kB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.2038, allocations: 91.64 kB / 0.7688 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.204, allocations: 119.4 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.2045, allocations: 295.1 kB / 0.7692 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2045, allocations: 0 / 0.7692 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2045, allocations: 0 / 0.7692 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.2045, allocations: 8 kB / 0.7692 GB, free: 5.562 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.001465/0.206, allocations: 0.7423 MB / 0.7699 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.206, allocations: 8.031 kB / 0.7699 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.2061, allocations: 42.73 kB / 0.7699 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.2062, allocations: 28.8 kB / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.2065, allocations: 271.7 kB / 0.7702 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.2066, allocations: 12.12 kB / 0.7702 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.382e-05/0.2067, allocations: 23.98 kB / 0.7703 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008766/0.2075, allocations: 197.5 kB / 0.7705 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2076, allocations: 0 / 0.7705 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.2076, allocations: 4 kB / 0.7705 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2076, allocations: 0 / 0.7705 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.2083, allocations: 95.92 kB / 0.7706 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.2088, allocations: 325.4 kB / 0.7709 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.2098, allocations: 170.3 kB / 0.771 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/0.2105, allocations: 116.8 kB / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.2105, allocations: 4 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008923/0.2114, allocations: 215.1 kB / 0.7713 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.2114, allocations: 3.938 kB / 0.7713 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002292/0.2137, allocations: 455.5 kB / 0.7718 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.2138, allocations: 59.41 kB / 0.7718 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.2141, allocations: 291 kB / 0.7721 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.035e-05/0.2141, allocations: 37.69 kB / 0.7722 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.2142, allocations: 89.66 kB / 0.7722 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.2143, allocations: 43.73 kB / 0.7723 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.2144, allocations: 93.58 kB / 0.7724 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2146, allocations: 322.8 kB / 0.7727 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.2148, allocations: 79.95 kB / 0.7728 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.2151, allocations: 141.9 kB / 0.7729 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.2154, allocations: 247.4 kB / 0.7731 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2154, allocations: 0 / 0.7731 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006347/0.2161, allocations: 388.7 kB / 0.7735 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.2161, allocations: 71.39 kB / 0.7736 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2161, allocations: 8.188 kB / 0.7736 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2162, allocations: 4 kB / 0.7736 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2163, allocations: 27.91 kB / 0.7736 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2163, allocations: 7.938 kB / 0.7736 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.2168, allocations: 47.86 kB / 0.7737 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/0.2168, allocations: 43.98 kB / 0.7737 GB, free: 0.582 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.0001872/0.217, allocations: 180.5 kB / 0.7739 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.2171, allocations: 23.86 kB / 0.7739 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.2171, allocations: 26.3 kB / 0.7739 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2171, allocations: 4 kB / 0.7739 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2172, allocations: 0 / 0.7739 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2172, allocations: 0 / 0.7739 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3665/0.5837, allocations: 0.6921 MB / 0.7746 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/0.5838, allocations: 1.219 kB / 0.7746 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.5838, allocations: 4.828 kB / 0.7746 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5838, allocations: 1.688 kB / 0.7746 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.5839, allocations: 20.64 kB / 0.7746 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5839, allocations: 1.406 kB / 0.7746 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5839, allocations: 0 / 0.7746 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.5855, allocations: 448.1 kB / 0.7751 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.5857, allocations: 166.8 kB / 0.7752 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.5858, allocations: 15.53 kB / 0.7752 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.5862, allocations: 28.48 kB / 0.7753 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.5863, allocations: 11.86 kB / 0.7753 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.5863, allocations: 44.52 kB / 0.7753 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002012/0.5865, allocations: 211 kB / 0.7755 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5865, allocations: 3.312 kB / 0.7755 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003654/0.5869, allocations: 47.22 kB / 0.7756 GB, free: 14.41 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.001766/0.5887, allocations: 0.9864 MB / 0.7765 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.5898, allocations: 380.3 kB / 0.7769 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5898, allocations: 1.812 kB / 0.7769 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007016/0.5905, allocations: 118.3 kB / 0.777 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.5909, allocations: 26.67 kB / 0.777 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.5941, allocations: 2.364 MB / 0.7793 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.5943, allocations: 0.7447 MB / 0.7801 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.5944, allocations: 15.34 kB / 0.7801 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.5945, allocations: 23.47 kB / 0.7801 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.5945, allocations: 0 / 0.7801 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.6187, allocations: 4.829 MB / 0.7848 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.36, allocations: 13.5 kB / 0.7848 GB, free: 10.95 MB / 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)