Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.002007/0.002007, allocations: 103.7 kB / 16.45 MB, free: 6.453 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.002783/0.002783, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.582/1.582, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.57/3.57, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.002457/0.002457, allocations: 78.36 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4251, allocations: 176.1 MB / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003504/0.4286, allocations: 1.769 MB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.4302, allocations: 0.6227 MB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.4303, allocations: 0 / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.4304, allocations: 11.86 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.4306, allocations: 39.78 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009974/0.4316, allocations: 358.3 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007982/0.4324, allocations: 0.6048 MB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.4325, allocations: 28.98 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.4331, allocations: 307.6 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.4335, allocations: 169.5 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.4336, allocations: 47.94 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.041e-05/0.4337, allocations: 40 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.4338, allocations: 123.7 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.4341, allocations: 219 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006861/0.4348, allocations: 0.5918 MB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4348, allocations: 3.984 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4348, allocations: 0 / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.4348, allocations: 0 / 1.326 GB, free: 13.83 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001543/0.4363, allocations: 0.9208 MB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4364, allocations: 12.03 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.4365, allocations: 56.66 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.437, allocations: 330.6 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.437, allocations: 24.36 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.4371, allocations: 28.36 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4382, allocations: 237.9 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.4382, allocations: 192 / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.4382, allocations: 19.88 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.4382, allocations: 3.938 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008511/0.4391, allocations: 115.9 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.4404, allocations: 0.6604 MB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.4416, allocations: 178.4 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008252/0.4424, allocations: 108.8 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.4424, allocations: 4 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.4435, allocations: 230 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.4435, allocations: 0 / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002797/0.4463, allocations: 0.4931 MB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.4464, allocations: 63.38 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.4469, allocations: 449.9 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/0.4469, allocations: 37.7 kB / 1.33 GB, free: 9.656 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.447, allocations: 105.4 kB / 1.33 GB, free: 9.551 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.4471, allocations: 39.67 kB / 1.33 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.4473, allocations: 137.4 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4475, allocations: 326.8 kB / 1.331 GB, free: 9.043 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.4478, allocations: 147.9 kB / 1.331 GB, free: 8.898 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.4481, allocations: 189.9 kB / 1.331 GB, free: 8.691 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.4486, allocations: 299.1 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4486, allocations: 0 / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009583/0.4495, allocations: 0.518 MB / 1.332 GB, free: 7.832 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.4496, allocations: 99.38 kB / 1.332 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4496, allocations: 0 / 1.332 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4497, allocations: 4 kB / 1.332 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.4498, allocations: 20.11 kB / 1.332 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4498, allocations: 8 kB / 1.332 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.4503, allocations: 59.84 kB / 1.332 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.856e-05/0.4504, allocations: 63.97 kB / 1.332 GB, free: 7.57 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.000259/0.4507, allocations: 212.9 kB / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.4508, allocations: 43.72 kB / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/0.4508, allocations: 47.78 kB / 1.332 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4509, allocations: 0 / 1.332 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4509, allocations: 0 / 1.332 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4509, allocations: 3.938 kB / 1.332 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.4533, allocations: 0.7912 MB / 1.333 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4533, allocations: 0 / 1.333 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.4533, allocations: 4 kB / 1.333 GB, free: 6.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.4533, allocations: 4 kB / 1.333 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.4534, allocations: 23.97 kB / 1.333 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4534, allocations: 3.938 kB / 1.333 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4534, allocations: 0 / 1.333 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.4554, allocations: 485.7 kB / 1.333 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.4557, allocations: 248.6 kB / 1.334 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.4558, allocations: 19.98 kB / 1.334 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.4563, allocations: 35.91 kB / 1.334 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.4563, allocations: 15.97 kB / 1.334 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/0.4564, allocations: 51.98 kB / 1.334 GB, free: 5.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003448/0.4567, allocations: 323.1 kB / 1.334 GB, free: 5.188 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4567, allocations: 0 / 1.334 GB, free: 5.188 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003811/0.4571, allocations: 67.98 kB / 1.334 GB, free: 5.121 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002092/0.4573, allocations: 123.2 kB / 1.334 GB, free: 4.988 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.4588, allocations: 442.5 kB / 1.335 GB, free: 4.531 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4588, allocations: 4 kB / 1.335 GB, free: 4.527 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008501/0.4596, allocations: 116.2 kB / 1.335 GB, free: 4.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.46, allocations: 43.78 kB / 1.335 GB, free: 4.371 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.4618, allocations: 0.6017 MB / 1.335 GB, free: 3.742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.4622, allocations: 0.7862 MB / 1.336 GB, free: 2.926 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.109e-05/0.4623, allocations: 13.44 kB / 1.336 GB, free: 2.914 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.4623, allocations: 27.36 kB / 1.336 GB, free: 2.887 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4623, allocations: 0 / 1.336 GB, free: 2.887 MB / 1.029 GB Notification: Performance of Templates: time 0.01042/0.4728, allocations: 5.44 MB / 1.342 GB, free: 13.36 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.868816955015063]