Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001824/0.001824, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002289/0.002289, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.245/3.245, allocations: 0.4899 GB / 0.7915 GB, free: 33.48 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [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.002107/0.002107, allocations: 72.03 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3885, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.004281/0.3928, allocations: 1.544 MB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3942, allocations: 0.5383 MB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3943, allocations: 4 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.3944, allocations: 11.86 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.3946, allocations: 27.86 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3957, allocations: 310.2 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009843/0.3967, allocations: 491.4 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.262e-05/0.3968, allocations: 11.98 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.3974, allocations: 267.7 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.3979, allocations: 151.4 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.398, allocations: 28 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.602e-05/0.3981, allocations: 24 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.3983, allocations: 111.7 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.3986, allocations: 187 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.3993, allocations: 430.3 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3993, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.737e-06/0.3993, allocations: 4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.863e-05/0.3993, allocations: 0 / 1.325 GB, free: 14.75 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.001679/0.401, allocations: 0.8781 MB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.401, allocations: 15.98 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.4012, allocations: 48.7 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.4016, allocations: 310.6 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.4017, allocations: 20.36 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/0.4018, allocations: 28.36 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.4028, allocations: 210 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4028, allocations: 8.062 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.4029, allocations: 11.92 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4029, allocations: 0 / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/0.4037, allocations: 103.9 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.4042, allocations: 381.3 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.4053, allocations: 162.5 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000802/0.4061, allocations: 112.8 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.4061, allocations: 3.984 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.4071, allocations: 223.1 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.4071, allocations: 3.938 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002764/0.4099, allocations: 495.3 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.4099, allocations: 55.41 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.4104, allocations: 417.9 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.4104, allocations: 37.7 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.4105, allocations: 97.44 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.4106, allocations: 35.69 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.4108, allocations: 129.5 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4109, allocations: 322.8 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.4112, allocations: 123.9 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.4115, allocations: 175.6 kB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.4119, allocations: 278.8 kB / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4119, allocations: 0 / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000863/0.4128, allocations: 494.4 kB / 1.33 GB, free: 9.336 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/0.4129, allocations: 95.5 kB / 1.33 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4129, allocations: 7.984 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4129, allocations: 4 kB / 1.33 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.4131, allocations: 23.91 kB / 1.33 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4131, allocations: 4 kB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.4136, allocations: 59.84 kB / 1.33 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/0.4137, allocations: 59.98 kB / 1.33 GB, free: 9.074 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.0002292/0.4139, allocations: 192 kB / 1.331 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.414, allocations: 51.64 kB / 1.331 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/0.414, allocations: 39.75 kB / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.414, allocations: 0 / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4141, allocations: 0 / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4141, allocations: 0 / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.4164, allocations: 0.7448 MB / 1.331 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4164, allocations: 0 / 1.331 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.4164, allocations: 7.938 kB / 1.331 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4164, allocations: 0 / 1.331 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.4165, allocations: 23.97 kB / 1.331 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4165, allocations: 0 / 1.331 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4165, allocations: 0 / 1.331 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.4184, allocations: 485.9 kB / 1.332 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.4187, allocations: 196.7 kB / 1.332 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.4187, allocations: 16 kB / 1.332 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.4192, allocations: 27.97 kB / 1.332 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.4193, allocations: 7.984 kB / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.25e-05/0.4194, allocations: 59.97 kB / 1.332 GB, free: 7.141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003308/0.4197, allocations: 295.1 kB / 1.332 GB, free: 6.855 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4197, allocations: 0 / 1.332 GB, free: 6.855 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004011/0.4201, allocations: 75.86 kB / 1.333 GB, free: 6.781 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.0001723/0.4203, allocations: 129 kB / 1.333 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.4216, allocations: 402.4 kB / 1.333 GB, free: 6.227 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4216, allocations: 0 / 1.333 GB, free: 6.227 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008044/0.4224, allocations: 112.3 kB / 1.333 GB, free: 6.117 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.4228, allocations: 25.48 kB / 1.333 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.4244, allocations: 0.5587 MB / 1.334 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.4249, allocations: 0.7746 MB / 1.335 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.936e-05/0.425, allocations: 13.09 kB / 1.335 GB, free: 4.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.425, allocations: 19.42 kB / 1.335 GB, free: 4.664 MB / 1.029 GB Notification: Performance of SimCode: time 8.01e-07/0.425, allocations: 0 / 1.335 GB, free: 4.664 MB / 1.029 GB Notification: Performance of Templates: time 0.009612/0.4346, allocations: 4.939 MB / 1.339 GB, free: 15.62 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.462482001632452]