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.007811/0.007811, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001276/0.001277, allocations: 196 kB / 16.68 MB, free: 5.977 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002424/0.002424, allocations: 287 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 103.8 kB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1807, allocations: 86.97 MB / 0.7659 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002881/0.1836, allocations: 1.497 MB / 0.7673 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1848, allocations: 435.3 kB / 0.7678 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.1848, allocations: 0 / 0.7678 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.1849, allocations: 11.86 kB / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1851, allocations: 16.25 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.1858, allocations: 251 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.1863, allocations: 323.5 kB / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.1863, allocations: 11.98 kB / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.1867, allocations: 199.6 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.1869, allocations: 120.1 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.803e-05/0.187, allocations: 16 kB / 0.7687 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.374e-05/0.1871, allocations: 23.94 kB / 0.7687 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.1873, allocations: 79.78 kB / 0.7688 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.1875, allocations: 127.4 kB / 0.7689 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.1881, allocations: 287.2 kB / 0.7692 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1881, allocations: 0 / 0.7692 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1881, allocations: 4 kB / 0.7692 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.1881, allocations: 0 / 0.7692 GB, free: 5.602 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.001545/0.1897, allocations: 0.754 MB / 0.7699 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1897, allocations: 8.031 kB / 0.7699 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.548e-05/0.1898, allocations: 42.69 kB / 0.7699 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.1899, allocations: 32.78 kB / 0.77 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.1904, allocations: 263.8 kB / 0.7702 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.1905, allocations: 20.11 kB / 0.7702 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.1906, allocations: 16 kB / 0.7703 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.1919, allocations: 197.5 kB / 0.7704 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1919, allocations: 3.984 kB / 0.7704 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.192, allocations: 8 kB / 0.7705 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.192, allocations: 3.938 kB / 0.7705 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009966/0.193, allocations: 95.86 kB / 0.7706 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.1936, allocations: 317.4 kB / 0.7709 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.195, allocations: 174.4 kB / 0.771 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.1961, allocations: 112.8 kB / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.1961, allocations: 0 / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.1975, allocations: 215.1 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.1975, allocations: 3.938 kB / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.003516/0.2011, allocations: 448.5 kB / 0.7718 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.2012, allocations: 75.38 kB / 0.7718 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.2017, allocations: 287 kB / 0.7721 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.09e-05/0.2018, allocations: 33.7 kB / 0.7721 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2019, allocations: 93.64 kB / 0.7722 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.202, allocations: 35.77 kB / 0.7723 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.2023, allocations: 93.58 kB / 0.7724 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002313/0.2025, allocations: 322.8 kB / 0.7727 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.2029, allocations: 83.94 kB / 0.7727 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.2032, allocations: 141.9 kB / 0.7729 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.2038, allocations: 247.4 kB / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2038, allocations: 0 / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009955/0.2048, allocations: 388.6 kB / 0.7735 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.886e-05/0.2049, allocations: 75.38 kB / 0.7736 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.2049, allocations: 11.98 kB / 0.7736 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.205, allocations: 4.188 kB / 0.7736 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.2052, allocations: 23.98 kB / 0.7736 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.2052, allocations: 7.938 kB / 0.7736 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.2058, allocations: 55.84 kB / 0.7737 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.803e-05/0.2059, allocations: 43.97 kB / 0.7737 GB, free: 0.6016 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.000261/0.2062, allocations: 171.7 kB / 0.7739 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2063, allocations: 31.84 kB / 0.7739 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.786e-05/0.2064, allocations: 30.3 kB / 0.7739 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2064, allocations: 3.938 kB / 0.7739 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2064, allocations: 0 / 0.7739 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2064, allocations: 0 / 0.7739 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3303/0.5367, allocations: 0.6817 MB / 0.7746 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5367, allocations: 0.7188 kB / 0.7746 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.5368, allocations: 6.984 kB / 0.7746 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.5368, allocations: 2.641 kB / 0.7746 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.5369, allocations: 15.44 kB / 0.7746 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5369, allocations: 1.891 kB / 0.7746 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5369, allocations: 2.438 kB / 0.7746 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.5385, allocations: 450.8 kB / 0.775 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.5387, allocations: 166.2 kB / 0.7752 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.5388, allocations: 10.88 kB / 0.7752 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.5392, allocations: 33.53 kB / 0.7753 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.5393, allocations: 9.172 kB / 0.7753 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.5393, allocations: 43.88 kB / 0.7753 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001925/0.5395, allocations: 210.9 kB / 0.7755 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5395, allocations: 0 / 0.7755 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003479/0.5399, allocations: 50.8 kB / 0.7756 GB, free: 14.5 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.001774/0.5417, allocations: 0.9895 MB / 0.7765 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.5429, allocations: 386.5 kB / 0.7769 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5429, allocations: 1.25 kB / 0.7769 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007238/0.5436, allocations: 114.8 kB / 0.777 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.544, allocations: 26.59 kB / 0.777 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.5471, allocations: 2.362 MB / 0.7793 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.5473, allocations: 0.7396 MB / 0.7801 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.877e-05/0.5474, allocations: 16.33 kB / 0.7801 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.5475, allocations: 28.78 kB / 0.7801 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.5475, allocations: 0 / 0.7801 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.5749, allocations: 4.817 MB / 0.7848 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.743, allocations: 18.62 kB / 0.7848 GB, free: 11.02 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)