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.001364/0.001364, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001389/0.001389, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.461/1.461, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.843/2.843, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 1.109 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8232/0.8253, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002774/0.8281, allocations: 1.527 MB / 1.276 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.8294, allocations: 0.5423 MB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.8294, allocations: 0 / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.8295, allocations: 19.86 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.8296, allocations: 23.86 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007649/0.8304, allocations: 311.3 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.8309, allocations: 475.4 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.831, allocations: 11.98 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.8313, allocations: 275.6 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.8316, allocations: 159.4 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.8317, allocations: 24 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.256e-05/0.8318, allocations: 28 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.8319, allocations: 107.7 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.8321, allocations: 191 kB / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.8325, allocations: 433.1 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.8325, allocations: 0 / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8326, allocations: 0 / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.8326, allocations: 0 / 1.278 GB, free: 476 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.001349/0.8339, allocations: 0.8704 MB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.8339, allocations: 11.97 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.8341, allocations: 56.69 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.8345, allocations: 310.6 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.8346, allocations: 16.36 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.8347, allocations: 32.36 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.8357, allocations: 213.6 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8357, allocations: 192 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.8357, allocations: 7.922 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.8357, allocations: 4 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000805/0.8365, allocations: 103.9 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.837, allocations: 389.2 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.8381, allocations: 170.5 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/0.8389, allocations: 108.7 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.8389, allocations: 4 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009989/0.8399, allocations: 215.1 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.8399, allocations: 4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002692/0.8426, allocations: 499.4 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.8427, allocations: 55.41 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.8431, allocations: 417.9 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.8432, allocations: 37.7 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.8432, allocations: 93.44 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.8433, allocations: 43.67 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.8435, allocations: 129.4 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8436, allocations: 322.8 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.8439, allocations: 115.9 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.8442, allocations: 177.9 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.8446, allocations: 279.8 kB / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8446, allocations: 0 / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008447/0.8454, allocations: 492.6 kB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.8456, allocations: 93.03 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.8456, allocations: 4 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.8456, allocations: 0 / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.8458, allocations: 23.97 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.8458, allocations: 8.125 kB / 1.283 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.8463, allocations: 63.78 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-05/0.8464, allocations: 59.98 kB / 1.283 GB, free: 10.8 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.0002411/0.8466, allocations: 192 kB / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.8467, allocations: 43.69 kB / 1.283 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/0.8467, allocations: 43.75 kB / 1.283 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.8468, allocations: 4 kB / 1.283 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8468, allocations: 0 / 1.283 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.8468, allocations: 3.938 kB / 1.283 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.8491, allocations: 0.7405 MB / 1.284 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8492, allocations: 4 kB / 1.284 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.8492, allocations: 0 / 1.284 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8492, allocations: 7.938 kB / 1.284 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.8492, allocations: 27.97 kB / 1.284 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8492, allocations: 0 / 1.284 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8492, allocations: 0 / 1.284 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.8511, allocations: 482.9 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.8514, allocations: 196.7 kB / 1.285 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.8514, allocations: 16 kB / 1.285 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.8519, allocations: 31.95 kB / 1.285 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.852, allocations: 8 kB / 1.285 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/0.852, allocations: 59.97 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003179/0.8524, allocations: 295.1 kB / 1.285 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8524, allocations: 3.938 kB / 1.285 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003756/0.8527, allocations: 63.98 kB / 1.285 GB, free: 8.508 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.0001797/0.8529, allocations: 127.7 kB / 1.285 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.8543, allocations: 406.5 kB / 1.286 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8543, allocations: 0 / 1.286 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008028/0.8551, allocations: 111.9 kB / 1.286 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.8555, allocations: 31.91 kB / 1.286 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.8571, allocations: 0.5589 MB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.8575, allocations: 0.7708 MB / 1.287 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.084e-05/0.8576, allocations: 13.08 kB / 1.287 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.8576, allocations: 15.44 kB / 1.287 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8576, allocations: 0 / 1.287 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of Templates: time 0.01066/0.8683, allocations: 4.987 MB / 1.292 GB, free: 1.305 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.759708544239402]