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.001263/0.001263, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001408/0.001408, allocations: 216.7 kB / 23.04 MB, free: 4.844 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.181/3.181, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002017/0.002017, allocations: 62.38 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3514, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003061/0.3545, allocations: 1.519 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3558, allocations: 0.5361 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.3559, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.356, allocations: 7.922 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.3561, allocations: 31.8 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.357, allocations: 313.2 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005729/0.3576, allocations: 491.4 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.3576, allocations: 11.98 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.358, allocations: 275.6 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.3583, allocations: 128.6 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.65e-05/0.3584, allocations: 28 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.3585, allocations: 28 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.3586, allocations: 127.6 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.3588, allocations: 155.3 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004942/0.3593, allocations: 434.4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3593, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3593, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3593, allocations: 3.938 kB / 1.331 GB, free: 12.93 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.00131/0.3606, allocations: 0.7989 MB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3607, allocations: 12.03 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3608, allocations: 52.7 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.3612, allocations: 260.7 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.3612, allocations: 16.36 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.3613, allocations: 28.36 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.3623, allocations: 222 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3623, allocations: 192 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.3623, allocations: 15.92 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3623, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.363, allocations: 115.9 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.3634, allocations: 281 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.3645, allocations: 186.4 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007199/0.3652, allocations: 120.8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3652, allocations: 4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000933/0.3662, allocations: 231.5 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.3662, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002477/0.3686, allocations: 0.5303 MB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.3687, allocations: 63.39 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.3692, allocations: 417.9 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/0.3692, allocations: 41.69 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.3693, allocations: 97.42 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.3694, allocations: 39.7 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.3696, allocations: 125.5 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3697, allocations: 326.8 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.3701, allocations: 191.3 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.3704, allocations: 247.9 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.3708, allocations: 280 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3708, allocations: 0 / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000892/0.3717, allocations: 0.5509 MB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.657e-05/0.3718, allocations: 83.38 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3718, allocations: 4 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.3718, allocations: 16.06 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.372, allocations: 23.91 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.372, allocations: 4 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.3724, allocations: 63.84 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/0.3725, allocations: 59.98 kB / 1.336 GB, free: 7.172 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.0002413/0.3728, allocations: 196.2 kB / 1.337 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.3728, allocations: 47.7 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.3729, allocations: 39.62 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3729, allocations: 7.984 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3729, allocations: 3.938 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3729, allocations: 0 / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.375, allocations: 0.7129 MB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.375, allocations: 3.938 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.3751, allocations: 4 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3751, allocations: 0 / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.3751, allocations: 27.97 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3751, allocations: 0 / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3751, allocations: 0 / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.3768, allocations: 0.5176 MB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.3771, allocations: 133.5 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.3772, allocations: 19.92 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.3776, allocations: 35.97 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3776, allocations: 7.984 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.3777, allocations: 63.97 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003189/0.378, allocations: 295.1 kB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.378, allocations: 0 / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003797/0.3784, allocations: 64 kB / 1.338 GB, free: 4.945 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.0001623/0.3786, allocations: 124.8 kB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.3798, allocations: 490.1 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3798, allocations: 8.125 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.3806, allocations: 123.8 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3809, allocations: 36.61 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3825, allocations: 0.5956 MB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.3827, allocations: 171 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.3827, allocations: 19.44 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3827, allocations: 0 / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of Templates: time 0.006201/0.3889, allocations: 3.699 MB / 1.344 GB, free: 15.55 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/jenkins1/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] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 11.38827404519543]