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.001414/0.001414, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001575/0.001575, allocations: 212.3 kB / 22.24 MB, free: 5.242 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.809 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.24/3.24, allocations: 0.4892 GB / 0.7943 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] 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.002093/0.002093, allocations: 63.19 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3522, allocations: 176.1 MB / 1.325 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003043/0.3552, allocations: 1.527 MB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3566, allocations: 0.5229 MB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.3567, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.3568, allocations: 15.8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.3569, allocations: 27.8 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009553/0.3579, allocations: 316.7 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006536/0.3585, allocations: 487.5 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.3586, allocations: 8 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004901/0.3591, allocations: 279.6 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.3594, allocations: 137.1 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.3596, allocations: 28 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.3597, allocations: 28 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3598, allocations: 111.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.36, allocations: 159.2 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.3605, allocations: 434.3 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3605, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3605, allocations: 4 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.3605, allocations: 0 / 1.329 GB, free: 13.87 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.001234/0.3617, allocations: 0.7912 MB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3618, allocations: 8.031 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.3619, allocations: 52.7 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.3623, allocations: 260.7 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.3624, allocations: 16.38 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.224e-05/0.3625, allocations: 28.3 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.3634, allocations: 214 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3634, allocations: 192 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.3634, allocations: 7.938 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.3635, allocations: 4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007133/0.3642, allocations: 95.92 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.3645, allocations: 285 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.3656, allocations: 166.5 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.3663, allocations: 104.7 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3663, allocations: 4 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009247/0.3672, allocations: 223.2 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3672, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002432/0.3697, allocations: 493 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3697, allocations: 55.41 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.3702, allocations: 421.8 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.3702, allocations: 41.69 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.3703, allocations: 93.44 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.3704, allocations: 47.67 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.3706, allocations: 125.5 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3707, allocations: 322.8 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.371, allocations: 191.3 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.3714, allocations: 249.2 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.3718, allocations: 270.8 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3718, allocations: 4 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008856/0.3727, allocations: 0.5452 MB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-05/0.3727, allocations: 83.38 kB / 1.334 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3727, allocations: 0 / 1.334 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.3728, allocations: 11.92 kB / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3729, allocations: 23.92 kB / 1.334 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3729, allocations: 0 / 1.334 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.3734, allocations: 67.97 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.3735, allocations: 55.98 kB / 1.335 GB, free: 8.258 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.000237/0.3737, allocations: 200.2 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.3738, allocations: 39.72 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.3739, allocations: 39.62 kB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3739, allocations: 0 / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3739, allocations: 4 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3739, allocations: 7.984 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.376, allocations: 0.6703 MB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.376, allocations: 7.938 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.376, allocations: 4 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3761, allocations: 0 / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.3761, allocations: 27.97 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3761, allocations: 0 / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3761, allocations: 4 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.3778, allocations: 487.4 kB / 1.336 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.3781, allocations: 129.5 kB / 1.336 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.3781, allocations: 16 kB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.3786, allocations: 27.97 kB / 1.336 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.3786, allocations: 11.97 kB / 1.336 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/0.3787, allocations: 59.97 kB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003175/0.379, allocations: 295.1 kB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.379, allocations: 0 / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003538/0.3794, allocations: 67.98 kB / 1.337 GB, free: 6.125 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.000158/0.3795, allocations: 119.2 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.3808, allocations: 479.5 kB / 1.337 GB, free: 5.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3808, allocations: 0 / 1.337 GB, free: 5.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007321/0.3815, allocations: 112.2 kB / 1.337 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3819, allocations: 39 kB / 1.337 GB, free: 5.348 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3834, allocations: 0.5509 MB / 1.338 GB, free: 4.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.3836, allocations: 174.7 kB / 1.338 GB, free: 4.578 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.495e-05/0.3836, allocations: 13.09 kB / 1.338 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.3837, allocations: 15.42 kB / 1.338 GB, free: 4.551 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3837, allocations: 0 / 1.338 GB, free: 4.551 MB / 1.029 GB Notification: Performance of Templates: time 0.01205/0.3957, allocations: 6.067 MB / 1.344 GB, free: 14.43 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 -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/jenkins/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.098953513428569]