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.005891/0.005891, 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.001321/0.001321, 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.347/1.347, 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.002301/0.002301, allocations: 289.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 100.1 kB / 0.6809 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3858, allocations: 86.97 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002568/0.3884, allocations: 1.488 MB / 0.7673 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.3893, allocations: 431.6 kB / 0.7677 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.3894, allocations: 4 kB / 0.7678 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.844e-05/0.3895, allocations: 7.875 kB / 0.7678 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3896, allocations: 32.22 kB / 0.7678 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.3903, allocations: 241.5 kB / 0.768 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.3907, allocations: 323.5 kB / 0.7683 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.3907, allocations: 11.98 kB / 0.7683 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.391, allocations: 195.7 kB / 0.7685 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.3913, allocations: 121.3 kB / 0.7686 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.3914, allocations: 20 kB / 0.7687 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.3914, allocations: 16 kB / 0.7687 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3915, allocations: 91.7 kB / 0.7688 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.3917, allocations: 123.4 kB / 0.7689 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.392, allocations: 288.1 kB / 0.7692 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.392, allocations: 4 kB / 0.7692 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.392, allocations: 0 / 0.7692 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.392, allocations: 0 / 0.7692 GB, free: 0.5352 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.001103/0.3932, allocations: 0.7578 MB / 0.7699 GB, free: 15.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3932, allocations: 12.02 kB / 0.7699 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.3933, allocations: 38.75 kB / 0.7699 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.3934, allocations: 28.8 kB / 0.77 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.3937, allocations: 263.8 kB / 0.7702 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.3937, allocations: 20.11 kB / 0.7702 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.3938, allocations: 24 kB / 0.7703 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.3948, allocations: 197.5 kB / 0.7705 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3948, allocations: 0 / 0.7705 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.3948, allocations: 7.984 kB / 0.7705 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3948, allocations: 3.938 kB / 0.7705 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008419/0.3957, allocations: 91.92 kB / 0.7706 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.3961, allocations: 317.4 kB / 0.7709 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3972, allocations: 178.4 kB / 0.771 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007796/0.398, allocations: 109.2 kB / 0.7711 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3981, allocations: 0 / 0.7711 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009704/0.399, allocations: 219.1 kB / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.3991, allocations: 4 kB / 0.7713 GB, free: 14.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002695/0.4018, allocations: 444.3 kB / 0.7718 GB, free: 13.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.4018, allocations: 59.41 kB / 0.7718 GB, free: 13.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.4021, allocations: 291 kB / 0.7721 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.4022, allocations: 37.7 kB / 0.7721 GB, free: 13.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.4022, allocations: 89.14 kB / 0.7722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.4023, allocations: 43.62 kB / 0.7723 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.4024, allocations: 97.56 kB / 0.7724 GB, free: 13.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4025, allocations: 322.8 kB / 0.7727 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.4027, allocations: 87.94 kB / 0.7728 GB, free: 12.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.403, allocations: 136.8 kB / 0.7729 GB, free: 12.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.4033, allocations: 243.3 kB / 0.7731 GB, free: 12.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4033, allocations: 0 / 0.7731 GB, free: 12.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000668/0.404, allocations: 392.7 kB / 0.7735 GB, free: 11.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/0.4041, allocations: 79.33 kB / 0.7736 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4041, allocations: 192 / 0.7736 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4041, allocations: 11.98 kB / 0.7736 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.4043, allocations: 15.98 kB / 0.7736 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4043, allocations: 7.938 kB / 0.7736 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.4048, allocations: 55.84 kB / 0.7737 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.4049, allocations: 43.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.000177/0.4051, allocations: 171.9 kB / 0.7739 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.4052, allocations: 23.86 kB / 0.7739 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.4052, allocations: 30.3 kB / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4052, allocations: 0 / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4052, allocations: 3.938 kB / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4052, allocations: 3.984 kB / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.4075, allocations: 0.6897 MB / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4075, allocations: 0 / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.4075, allocations: 7.938 kB / 0.7746 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4075, allocations: 7.984 kB / 0.7746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.4076, allocations: 15.98 kB / 0.7746 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4076, allocations: 0 / 0.7746 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4076, allocations: 0 / 0.7746 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.4093, allocations: 455.5 kB / 0.7751 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.4095, allocations: 156.8 kB / 0.7752 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.4096, allocations: 19.98 kB / 0.7752 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.4101, allocations: 31.97 kB / 0.7753 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.4101, allocations: 11.92 kB / 0.7753 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/0.4102, allocations: 43.97 kB / 0.7753 GB, free: 9.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002076/0.4104, allocations: 209.9 kB / 0.7755 GB, free: 9.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4104, allocations: 0 / 0.7755 GB, free: 9.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003373/0.4108, allocations: 47.98 kB / 0.7756 GB, free: 9.543 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.002024/0.4128, allocations: 0.9886 MB / 0.7765 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.414, allocations: 382.5 kB / 0.7769 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.414, allocations: 4 kB / 0.7769 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007826/0.4148, allocations: 116.2 kB / 0.777 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.4151, allocations: 31.02 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.003432/0.4186, allocations: 2.358 MB / 0.7793 GB, free: 5.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.4189, allocations: 0.7434 MB / 0.7801 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.721e-05/0.419, allocations: 17.08 kB / 0.7801 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.419, allocations: 27.36 kB / 0.7801 GB, free: 4.684 MB / 0.545 GB Notification: Performance of SimCode: time 1.753e-06/0.419, allocations: 0 / 0.7801 GB, free: 4.684 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.4418, allocations: 4.826 MB / 0.7848 GB, free: 44 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.312, allocations: 11.38 kB / 0.7848 GB, free: 40 kB / 0.545 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)