Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001782/0.001782, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002364/0.002364, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.185/3.185, allocations: 0.49 GB / 0.7958 GB, free: 33.42 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.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.002097/0.002097, allocations: 63.34 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3391, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003194/0.3423, allocations: 1.775 MB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3438, allocations: 0.6285 MB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.3438, allocations: 4 kB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.3439, allocations: 15.8 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.344, allocations: 31.84 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008376/0.3449, allocations: 366.9 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.3456, allocations: 0.6009 MB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3457, allocations: 25.23 kB / 1.331 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.3461, allocations: 319.5 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.3464, allocations: 171.4 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.3465, allocations: 40 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-05/0.3466, allocations: 40 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.3467, allocations: 127.6 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.347, allocations: 215 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.3476, allocations: 0.5956 MB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3476, allocations: 0 / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3476, allocations: 0 / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.3476, allocations: 4 kB / 1.332 GB, free: 12.51 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.001367/0.349, allocations: 0.8515 MB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.349, allocations: 8.031 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.3492, allocations: 56.66 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.3496, allocations: 276.7 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.3497, allocations: 20.36 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-05/0.3498, allocations: 32.36 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000974/0.3507, allocations: 241.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3507, allocations: 192 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.3508, allocations: 7.938 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3508, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.3515, allocations: 119.9 kB / 1.334 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.3529, allocations: 0.6438 MB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.3539, allocations: 162.5 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/0.3546, allocations: 112.8 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3546, allocations: 4 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000961/0.3556, allocations: 231.1 kB / 1.335 GB, free: 9.598 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.3556, allocations: 0 / 1.335 GB, free: 9.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002478/0.3581, allocations: 0.4958 MB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.3582, allocations: 59.41 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.3587, allocations: 445.9 kB / 1.336 GB, free: 8.578 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.3587, allocations: 41.69 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.3588, allocations: 105.4 kB / 1.336 GB, free: 8.426 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.3589, allocations: 39.73 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.3591, allocations: 137.4 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3593, allocations: 326.8 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.3596, allocations: 139.9 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.3599, allocations: 193.9 kB / 1.337 GB, free: 7.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.3603, allocations: 298.6 kB / 1.337 GB, free: 7.246 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3603, allocations: 4 kB / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009094/0.3612, allocations: 0.5179 MB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/0.3613, allocations: 95.38 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3613, allocations: 4.188 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3614, allocations: 7.938 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.3615, allocations: 23.97 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.3615, allocations: 4 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.362, allocations: 59.84 kB / 1.338 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.3621, allocations: 59.92 kB / 1.338 GB, free: 6.445 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.0002733/0.3624, allocations: 224.9 kB / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.3624, allocations: 43.7 kB / 1.338 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.3625, allocations: 43.73 kB / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3625, allocations: 0 / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3625, allocations: 0 / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3625, allocations: 0 / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.3647, allocations: 0.7629 MB / 1.339 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3647, allocations: 0 / 1.339 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.3648, allocations: 4 kB / 1.339 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3648, allocations: 4 kB / 1.339 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.3648, allocations: 19.97 kB / 1.339 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3648, allocations: 11.81 kB / 1.339 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3648, allocations: 0 / 1.339 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.3665, allocations: 486.4 kB / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.3668, allocations: 177.4 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/0.3669, allocations: 20 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.3674, allocations: 39.89 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.3674, allocations: 7.984 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-05/0.3675, allocations: 59.97 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003729/0.3678, allocations: 319.1 kB / 1.34 GB, free: 4.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3678, allocations: 0 / 1.34 GB, free: 4.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003881/0.3682, allocations: 71.92 kB / 1.34 GB, free: 4.109 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.0001932/0.3684, allocations: 135.8 kB / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.3697, allocations: 430.5 kB / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3697, allocations: 4 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000732/0.3704, allocations: 116.2 kB / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3708, allocations: 39.25 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.3724, allocations: 0.6465 MB / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.3728, allocations: 0.7825 MB / 1.342 GB, free: 1.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.3729, allocations: 23.44 kB / 1.342 GB, free: 1.852 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3729, allocations: 0 / 1.342 GB, free: 1.852 MB / 1.029 GB Notification: Performance of Templates: time 0.006591/0.3795, allocations: 4.103 MB / 1.346 GB, free: 13.7 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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: 11.209994013013784]