Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001579/0.001579, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.001866/0.001866, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 285 kB / 309.1 MB, free: 3.984 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.265/1.265, allocations: 180.9 MB / 0.5333 GB, free: 13.9 MB / 382.1 MB " [Timeout remaining time 179] 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.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.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.004812/0.004812, allocations: 105.6 kB / 0.7342 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2069, allocations: 95.34 MB / 0.8273 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002778/0.2097, allocations: 1.554 MB / 0.8288 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2111, allocations: 0.5476 MB / 0.8294 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.2112, allocations: 0 / 0.8294 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.2113, allocations: 11.86 kB / 0.8294 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.2114, allocations: 23.86 kB / 0.8294 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008188/0.2122, allocations: 310.2 kB / 0.8297 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.2127, allocations: 487.4 kB / 0.8302 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.2128, allocations: 4 kB / 0.8302 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.2131, allocations: 275.6 kB / 0.8304 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.2134, allocations: 147.6 kB / 0.8306 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.131e-05/0.2135, allocations: 24 kB / 0.8306 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.2136, allocations: 28 kB / 0.8306 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.2137, allocations: 119.7 kB / 0.8307 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.2139, allocations: 191 kB / 0.8309 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.2143, allocations: 418.7 kB / 0.8313 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2143, allocations: 3.938 kB / 0.8313 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2143, allocations: 0 / 0.8313 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2144, allocations: 0 / 0.8313 GB, free: 5.809 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.001353/0.2157, allocations: 0.8754 MB / 0.8322 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.2158, allocations: 8.031 kB / 0.8322 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.2158, allocations: 50.67 kB / 0.8322 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.2159, allocations: 52.7 kB / 0.8323 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.2164, allocations: 314.5 kB / 0.8326 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.2164, allocations: 20.36 kB / 0.8326 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.2165, allocations: 24.38 kB / 0.8326 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.2176, allocations: 210 kB / 0.8328 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2176, allocations: 7.938 kB / 0.8328 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.2176, allocations: 4 kB / 0.8328 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2176, allocations: 0 / 0.8328 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.2185, allocations: 111.8 kB / 0.833 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.2189, allocations: 381.3 kB / 0.8333 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.2201, allocations: 170.5 kB / 0.8335 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008079/0.2209, allocations: 102 kB / 0.8336 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.2209, allocations: 4 kB / 0.8336 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.2219, allocations: 225.5 kB / 0.8338 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.2219, allocations: 0 / 0.8338 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002736/0.2247, allocations: 493 kB / 0.8343 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.2247, allocations: 59.39 kB / 0.8343 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.2252, allocations: 409.9 kB / 0.8347 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.2253, allocations: 41.69 kB / 0.8348 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.2254, allocations: 101.4 kB / 0.8349 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.2254, allocations: 39.69 kB / 0.8349 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.2256, allocations: 125.5 kB / 0.835 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2258, allocations: 322.8 kB / 0.8353 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.226, allocations: 115.9 kB / 0.8354 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.2264, allocations: 183.7 kB / 0.8356 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.2268, allocations: 270.8 kB / 0.8359 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2268, allocations: 0 / 0.8359 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000864/0.2276, allocations: 0.4889 MB / 0.8363 GB, free: 356 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-05/0.2277, allocations: 91.31 kB / 0.8364 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2277, allocations: 0 / 0.8364 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2277, allocations: 4 kB / 0.8364 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.2279, allocations: 19.98 kB / 0.8364 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2279, allocations: 3.938 kB / 0.8365 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.2284, allocations: 67.97 kB / 0.8365 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-05/0.2285, allocations: 59.97 kB / 0.8366 GB, free: 96 kB / 0.5762 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.0002762/0.2288, allocations: 192.1 kB / 0.8368 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.2289, allocations: 47.64 kB / 0.8368 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.473e-05/0.2289, allocations: 39.73 kB / 0.8368 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2289, allocations: 0 / 0.8368 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2289, allocations: 7.938 kB / 0.8368 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.229, allocations: 4 kB / 0.8369 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.2314, allocations: 0.7391 MB / 0.8376 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2314, allocations: 0 / 0.8376 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.2314, allocations: 15.92 kB / 0.8376 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2314, allocations: 0 / 0.8376 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.2314, allocations: 19.98 kB / 0.8376 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2314, allocations: 4 kB / 0.8376 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2314, allocations: 0 / 0.8376 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.2333, allocations: 475.4 kB / 0.8381 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.2336, allocations: 200.7 kB / 0.8383 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.2337, allocations: 19.97 kB / 0.8383 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004925/0.2342, allocations: 27.97 kB / 0.8383 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.2342, allocations: 7.984 kB / 0.8383 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.2343, allocations: 63.98 kB / 0.8384 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003085/0.2346, allocations: 291.1 kB / 0.8387 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2346, allocations: 3.938 kB / 0.8387 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003972/0.235, allocations: 67.98 kB / 0.8387 GB, free: 13.79 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.002262/0.2373, allocations: 1.025 MB / 0.8397 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.2387, allocations: 409.4 kB / 0.8401 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2387, allocations: 0 / 0.8401 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008401/0.2395, allocations: 115.8 kB / 0.8402 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.2399, allocations: 27.78 kB / 0.8402 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.2443, allocations: 2.787 MB / 0.843 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.2447, allocations: 0.7708 MB / 0.8437 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.263e-05/0.2448, allocations: 13.08 kB / 0.8437 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.2449, allocations: 23.42 kB / 0.8438 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/0.2449, allocations: 4 kB / 0.8438 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.2783, allocations: 6.181 MB / 0.8498 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.518, allocations: 5.188 kB / 0.8498 GB, free: 2.297 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.967189517337829] Failed to read output from testmodel.py, exit status != 0: 8.587271470110863 8.601416716 8.384261591 Calling exit ...