Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001842/0.001842, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002528/0.002528, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.67/1.67, allocations: 230.6 MB / 256 MB, free: 7.785 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.486/3.486, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [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.00212/0.00212, allocations: 76.75 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4233, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003271/0.4266, allocations: 1.732 MB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.4281, allocations: 0.6091 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.4282, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.4283, allocations: 11.81 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.4284, allocations: 31.84 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009052/0.4293, allocations: 372.8 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006654/0.43, allocations: 0.6009 MB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.4301, allocations: 29.23 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004415/0.4306, allocations: 315.6 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.4309, allocations: 151.3 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.431, allocations: 40 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.4311, allocations: 40 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.4312, allocations: 127.6 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.4314, allocations: 179.2 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006526/0.4321, allocations: 0.5995 MB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4321, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4321, allocations: 8 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4321, allocations: 0 / 1.33 GB, free: 13.02 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.001368/0.4335, allocations: 0.8339 MB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4335, allocations: 8.031 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.4336, allocations: 56.66 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.4342, allocations: 276.7 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.4342, allocations: 24.3 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/0.4343, allocations: 32.3 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009823/0.4353, allocations: 239.9 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4353, allocations: 192 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.4353, allocations: 3.938 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.4353, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007552/0.4361, allocations: 119.9 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.4374, allocations: 0.5391 MB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.4384, allocations: 170.4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.4391, allocations: 108.8 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.4391, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009942/0.4401, allocations: 227.2 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.4401, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002481/0.4426, allocations: 0.4917 MB / 1.333 GB, free: 9.746 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.4427, allocations: 63.39 kB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.4432, allocations: 449.8 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.4433, allocations: 37.7 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4434, allocations: 105.4 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.4434, allocations: 35.73 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.4437, allocations: 145.4 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.4439, allocations: 326.8 kB / 1.334 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.4443, allocations: 223.3 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.4447, allocations: 273.2 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.4451, allocations: 298.8 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4451, allocations: 0 / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009717/0.4461, allocations: 0.5938 MB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.4461, allocations: 88.94 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4462, allocations: 4 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.4462, allocations: 0 / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.4463, allocations: 19.98 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.4464, allocations: 12.12 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.4468, allocations: 59.83 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.911e-05/0.4469, allocations: 59.98 kB / 1.336 GB, free: 6.824 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.0002754/0.4472, allocations: 220.9 kB / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.4473, allocations: 39.72 kB / 1.336 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.4473, allocations: 39.72 kB / 1.336 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4473, allocations: 8 kB / 1.336 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4473, allocations: 0 / 1.336 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4474, allocations: 3.938 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.4496, allocations: 0.7089 MB / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4496, allocations: 0 / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.4496, allocations: 8 kB / 1.337 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4496, allocations: 11.88 kB / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.4496, allocations: 23.97 kB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4496, allocations: 0 / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4496, allocations: 3.938 kB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.4514, allocations: 497.8 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.4518, allocations: 173.5 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.678e-05/0.4518, allocations: 16 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.4523, allocations: 31.95 kB / 1.338 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.4524, allocations: 11.92 kB / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.4524, allocations: 55.98 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003882/0.4528, allocations: 323.1 kB / 1.338 GB, free: 4.617 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4528, allocations: 0 / 1.338 GB, free: 4.617 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004115/0.4532, allocations: 75.92 kB / 1.338 GB, free: 4.543 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.0002152/0.4535, allocations: 127.8 kB / 1.338 GB, free: 4.406 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.4549, allocations: 0.5018 MB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4549, allocations: 0 / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007572/0.4556, allocations: 120.2 kB / 1.339 GB, free: 3.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.4561, allocations: 40.38 kB / 1.339 GB, free: 3.715 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.4578, allocations: 0.5941 MB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.458, allocations: 186.7 kB / 1.34 GB, free: 2.887 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.123e-05/0.4581, allocations: 13.42 kB / 1.34 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.4582, allocations: 19.42 kB / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4582, allocations: 0 / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of Templates: time 0.01369/0.4719, allocations: 6.589 MB / 1.346 GB, free: 12.21 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.952905613929033]