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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00253/0.00253, allocations: 281.8 kB / 312.7 MB, free: 2.625 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.288/1.288, allocations: 180.6 MB / 0.5369 GB, free: 14.56 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002934/0.002934, allocations: 102 kB / 0.7395 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1853, allocations: 95.39 MB / 0.8326 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002927/0.1883, allocations: 1.537 MB / 0.8341 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1896, allocations: 0.53 MB / 0.8346 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.1896, allocations: 0 / 0.8346 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.1897, allocations: 11.86 kB / 0.8346 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.1898, allocations: 23.86 kB / 0.8347 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008436/0.1907, allocations: 323.1 kB / 0.835 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006105/0.1913, allocations: 483.5 kB / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.1913, allocations: 4 kB / 0.8354 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.1918, allocations: 279.6 kB / 0.8357 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.1921, allocations: 131.6 kB / 0.8358 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1922, allocations: 28 kB / 0.8359 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.787e-05/0.1923, allocations: 32 kB / 0.8359 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.1924, allocations: 111.7 kB / 0.836 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.1926, allocations: 159.2 kB / 0.8362 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.1931, allocations: 430.7 kB / 0.8366 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1931, allocations: 0 / 0.8366 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1931, allocations: 3.938 kB / 0.8366 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1931, allocations: 0 / 0.8366 GB, free: 4.312 MB / 0.5762 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.001251/0.1943, allocations: 0.7993 MB / 0.8373 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1944, allocations: 9.938 kB / 0.8374 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.1944, allocations: 42.73 kB / 0.8374 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1945, allocations: 56.7 kB / 0.8375 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.195, allocations: 252.7 kB / 0.8377 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.195, allocations: 16.36 kB / 0.8377 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.436e-05/0.1951, allocations: 32.36 kB / 0.8377 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.196, allocations: 213.9 kB / 0.8379 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1961, allocations: 3.938 kB / 0.8379 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.1961, allocations: 3.984 kB / 0.838 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-06/0.1961, allocations: 8 kB / 0.838 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.1968, allocations: 91.92 kB / 0.838 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.1972, allocations: 312.5 kB / 0.8383 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009964/0.1982, allocations: 166.5 kB / 0.8385 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.1989, allocations: 108.7 kB / 0.8386 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1989, allocations: 3.984 kB / 0.8386 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009363/0.1999, allocations: 223.1 kB / 0.8388 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1999, allocations: 0 / 0.8388 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002451/0.2023, allocations: 493 kB / 0.8393 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.2024, allocations: 55.41 kB / 0.8393 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.2028, allocations: 413.9 kB / 0.8397 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/0.2029, allocations: 45.58 kB / 0.8398 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.203, allocations: 97.44 kB / 0.8399 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.2031, allocations: 43.67 kB / 0.8399 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.2033, allocations: 125.5 kB / 0.84 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2034, allocations: 318.8 kB / 0.8403 GB, free: 220 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.2037, allocations: 191.3 kB / 0.8405 GB, free: 16 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.2041, allocations: 242.5 kB / 0.8408 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.2045, allocations: 279.6 kB / 0.841 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2045, allocations: 0 / 0.841 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008644/0.2053, allocations: 0.5451 MB / 0.8416 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.517e-05/0.2054, allocations: 91.48 kB / 0.8416 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2054, allocations: 4 kB / 0.8416 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2055, allocations: 4 kB / 0.8417 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2056, allocations: 23.92 kB / 0.8417 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2056, allocations: 0 / 0.8417 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.2061, allocations: 59.84 kB / 0.8417 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.2062, allocations: 63.91 kB / 0.8418 GB, free: 14.61 MB / 0.5919 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.0002359/0.2064, allocations: 200.4 kB / 0.842 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.2065, allocations: 39.7 kB / 0.842 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/0.2065, allocations: 35.69 kB / 0.8421 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2065, allocations: 4 kB / 0.8421 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2065, allocations: 7.938 kB / 0.8421 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2065, allocations: 3.984 kB / 0.8421 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.2087, allocations: 0.7083 MB / 0.8428 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2087, allocations: 0 / 0.8428 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.2088, allocations: 7.984 kB / 0.8428 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2088, allocations: 0 / 0.8428 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.2088, allocations: 19.97 kB / 0.8428 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2088, allocations: 0 / 0.8428 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2088, allocations: 0 / 0.8428 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.2105, allocations: 487.4 kB / 0.8433 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.2109, allocations: 137.5 kB / 0.8434 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.2109, allocations: 12 kB / 0.8434 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.2114, allocations: 35.95 kB / 0.8434 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.2114, allocations: 7.984 kB / 0.8434 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.2115, allocations: 63.95 kB / 0.8435 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003227/0.2118, allocations: 295.1 kB / 0.8438 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2118, allocations: 0 / 0.8438 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000365/0.2122, allocations: 64 kB / 0.8438 GB, free: 12.43 MB / 0.5919 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.002067/0.2143, allocations: 1.033 MB / 0.8448 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.2156, allocations: 469.9 kB / 0.8453 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2156, allocations: 0 / 0.8453 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007257/0.2163, allocations: 120.2 kB / 0.8454 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.2167, allocations: 24.45 kB / 0.8454 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.2215, allocations: 3.095 MB / 0.8485 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.2217, allocations: 163 kB / 0.8486 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.707e-05/0.2218, allocations: 13.09 kB / 0.8486 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.2218, allocations: 23.42 kB / 0.8486 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.2218, allocations: 0 / 0.8486 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.259, allocations: 8.01 MB / 0.8565 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.55, allocations: 12.92 kB / 0.8565 GB, free: 15.33 MB / 0.6075 GB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.014915089588612] Failed to read output from testmodel.py, exit status != 0: 11.661528179887682 11.677760413 11.481631635 Calling exit ...