Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 109.2 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 200.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 225.6 MB / 249.9 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.7 MB / 0.7634 GB, free: 10.17 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 1.108 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9954/0.9974, allocations: 168.7 MB / 1.272 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003259/1.001, allocations: 1.534 MB / 1.274 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001499/1.002, allocations: 0.5441 MB / 1.274 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/1.002, allocations: 0 / 1.274 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/1.002, allocations: 11.86 kB / 1.274 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/1.002, allocations: 31.84 kB / 1.274 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/1.003, allocations: 302.8 kB / 1.275 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006469/1.004, allocations: 487.4 kB / 1.275 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/1.004, allocations: 7.984 kB / 1.275 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/1.005, allocations: 275.6 kB / 1.275 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/1.005, allocations: 143.4 kB / 1.276 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/1.005, allocations: 35.92 kB / 1.276 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.19e-05/1.005, allocations: 28 kB / 1.276 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/1.005, allocations: 111.7 kB / 1.276 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/1.005, allocations: 183 kB / 1.276 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004894/1.006, allocations: 428.2 kB / 1.276 GB, free: 344 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.006, allocations: 4 kB / 1.276 GB, free: 340 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/1.006, allocations: 0 / 1.276 GB, free: 340 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.203e-05/1.006, allocations: 0 / 1.276 GB, free: 340 kB / 0.9669 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.001432/1.007, allocations: 0.882 MB / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.007, allocations: 8.031 kB / 1.277 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.736e-05/1.008, allocations: 42.73 kB / 1.277 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/1.008, allocations: 48.7 kB / 1.277 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/1.008, allocations: 310.6 kB / 1.278 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/1.008, allocations: 20.36 kB / 1.278 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/1.008, allocations: 24.38 kB / 1.278 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/1.009, allocations: 214 kB / 1.278 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.009, allocations: 7.875 kB / 1.278 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/1.009, allocations: 4 kB / 1.278 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/1.009, allocations: 3.938 kB / 1.278 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007176/1.01, allocations: 107.9 kB / 1.278 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/1.01, allocations: 385.2 kB / 1.278 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009732/1.011, allocations: 162.5 kB / 1.278 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/1.012, allocations: 108.8 kB / 1.279 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/1.012, allocations: 3.984 kB / 1.279 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000967/1.013, allocations: 235 kB / 1.279 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/1.013, allocations: 0 / 1.279 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002525/1.016, allocations: 485 kB / 1.279 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/1.016, allocations: 67.38 kB / 1.279 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/1.016, allocations: 405.9 kB / 1.28 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/1.016, allocations: 41.69 kB / 1.28 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/1.016, allocations: 97.44 kB / 1.28 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/1.016, allocations: 31.77 kB / 1.28 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/1.017, allocations: 137.4 kB / 1.28 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.017, allocations: 318.8 kB / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/1.017, allocations: 123.9 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/1.017, allocations: 174.4 kB / 1.281 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/1.018, allocations: 275.8 kB / 1.281 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.018, allocations: 3.984 kB / 1.281 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008726/1.019, allocations: 496.7 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.019, allocations: 95.31 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/1.019, allocations: 0 / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.019, allocations: 4 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/1.019, allocations: 19.98 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/1.019, allocations: 7.938 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/1.019, allocations: 63.83 kB / 1.282 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/1.019, allocations: 64 kB / 1.282 GB, free: 10.6 MB / 0.9825 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.0002496/1.02, allocations: 191.9 kB / 1.282 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/1.02, allocations: 43.7 kB / 1.282 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/1.02, allocations: 43.73 kB / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.02, allocations: 0 / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.02, allocations: 0 / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/1.02, allocations: 0 / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/1.022, allocations: 0.7423 MB / 1.283 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.022, allocations: 0 / 1.283 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/1.022, allocations: 11.92 kB / 1.283 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/1.022, allocations: 0 / 1.283 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/1.022, allocations: 15.98 kB / 1.283 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/1.022, allocations: 7.984 kB / 1.283 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.022, allocations: 3.938 kB / 1.283 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/1.024, allocations: 475.3 kB / 1.283 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/1.024, allocations: 208.6 kB / 1.283 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/1.024, allocations: 11.98 kB / 1.283 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/1.025, allocations: 31.97 kB / 1.283 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/1.025, allocations: 7.984 kB / 1.283 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/1.025, allocations: 55.97 kB / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003188/1.025, allocations: 299.1 kB / 1.284 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.025, allocations: 0 / 1.284 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003901/1.025, allocations: 68 kB / 1.284 GB, free: 8.32 MB / 0.9825 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.002031/1.027, allocations: 1.025 MB / 1.285 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001265/1.029, allocations: 410.4 kB / 1.285 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.029, allocations: 0 / 1.285 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000731/1.029, allocations: 117.9 kB / 1.285 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/1.03, allocations: 31.59 kB / 1.285 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/1.034, allocations: 2.792 MB / 1.288 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/1.035, allocations: 0.7708 MB / 1.289 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.466e-05/1.035, allocations: 13.08 kB / 1.289 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/1.035, allocations: 27.42 kB / 1.289 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of SimCode: time 7.41e-07/1.035, allocations: 0 / 1.289 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/1.065, allocations: 6.155 MB / 1.295 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/9.1, allocations: 12.53 kB / 1.295 GB, free: 12.75 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable calTim.year in file Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv. Warning: Get data of variable calTim.year from file Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv failed! Error: Could not read variable calTim.month in file Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv. Warning: Get data of variable calTim.month from file Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv failed! Error: Could not read variable calTim.weekDay in file Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv. Warning: Get data of variable calTim.weekDay from file Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv failed! Error: Could not read variable calTim.hour in file Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv. Warning: Get data of variable calTim.hour from file Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.494746637064964]