Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001734/0.001734, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002147/0.002147, allocations: 213.1 kB / 22.99 MB, free: 4.957 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.162/3.162, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: 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_12_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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Buildings 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.002096/0.002096, allocations: 71.58 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3466, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002714/0.3493, allocations: 1.52 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3506, allocations: 0.5361 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.3507, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.413e-05/0.3508, allocations: 11.86 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.3509, allocations: 31.84 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007694/0.3516, allocations: 306.7 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.3522, allocations: 495.4 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.3522, allocations: 12 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.3526, allocations: 271.7 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.3529, allocations: 155.6 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.353, allocations: 24 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.3531, allocations: 28 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.3532, allocations: 111.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.3534, allocations: 163.2 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.3538, allocations: 434.3 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3538, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3538, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3538, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 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.001327/0.3552, allocations: 0.7911 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3552, allocations: 12.03 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.3553, allocations: 48.7 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.3558, allocations: 260.7 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.3558, allocations: 20.31 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.3559, allocations: 24.36 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.357, allocations: 221.9 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.357, allocations: 192 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.3571, allocations: 7.938 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3571, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008887/0.358, allocations: 95.92 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.3584, allocations: 281.1 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.3596, allocations: 163.7 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008445/0.3604, allocations: 100.8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3604, allocations: 8 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.3615, allocations: 223.1 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3615, allocations: 3.938 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.00292/0.3644, allocations: 495 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.3645, allocations: 59.41 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.3649, allocations: 409.9 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.365, allocations: 41.69 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.3651, allocations: 97.42 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.3651, allocations: 47.69 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.3653, allocations: 129.5 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3655, allocations: 318.8 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.3658, allocations: 191.2 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.3662, allocations: 253.2 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.3666, allocations: 263.7 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3666, allocations: 4 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009393/0.3675, allocations: 0.5508 MB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.918e-05/0.3676, allocations: 79.38 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3676, allocations: 0 / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3677, allocations: 7.938 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3678, allocations: 27.91 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3679, allocations: 0 / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.3684, allocations: 67.97 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.3685, allocations: 59.98 kB / 1.336 GB, free: 7.371 MB / 1.029 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.0002462/0.3687, allocations: 200.2 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.3688, allocations: 43.72 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.102e-05/0.3689, allocations: 43.62 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3689, allocations: 4 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3689, allocations: 4 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3689, allocations: 3.984 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.3714, allocations: 0.6703 MB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3714, allocations: 3.938 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.3714, allocations: 4 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3714, allocations: 7.938 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.3715, allocations: 19.97 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3715, allocations: 4 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3715, allocations: 0 / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.3735, allocations: 485.7 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.3738, allocations: 137.5 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.3739, allocations: 8 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.3744, allocations: 27.97 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.3745, allocations: 11.98 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.3745, allocations: 55.97 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003106/0.3748, allocations: 299 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3748, allocations: 0 / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003724/0.3752, allocations: 67.98 kB / 1.338 GB, free: 5.238 MB / 1.029 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.0001699/0.3754, allocations: 120.3 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.3768, allocations: 481.7 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3768, allocations: 0 / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008558/0.3777, allocations: 112.3 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3781, allocations: 30.95 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.3796, allocations: 0.5509 MB / 1.339 GB, free: 3.887 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.3798, allocations: 170.8 kB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.239e-05/0.3799, allocations: 13.09 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.3799, allocations: 15.42 kB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.3799, allocations: 0 / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of Templates: time 0.01021/0.3901, allocations: 6.083 MB / 1.346 GB, free: 13.53 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.224507733990322]