Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.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.001504/0.001504, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00149/0.00149, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.21/3.21, allocations: 0.49 GB / 0.7959 GB, free: 35.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.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.002104/0.002104, allocations: 73.33 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3497, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00275/0.3524, allocations: 1.533 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3538, allocations: 0.5209 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.3539, allocations: 4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.354, allocations: 11.86 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.3541, allocations: 27.84 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.3549, allocations: 317.2 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.3555, allocations: 487.4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.3555, allocations: 12 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.3559, allocations: 279.7 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.3562, allocations: 159.5 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.516e-05/0.3563, allocations: 24 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3564, allocations: 28 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.3566, allocations: 115.6 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.3567, allocations: 155.3 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.3572, allocations: 434.3 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3572, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3572, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3572, allocations: 0 / 1.331 GB, free: 12.91 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.001325/0.3585, allocations: 0.7967 MB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3586, allocations: 12.03 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.3587, allocations: 52.64 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.3592, allocations: 252.8 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.3592, allocations: 20.36 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.3593, allocations: 24.38 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.3604, allocations: 215.3 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3604, allocations: 4.188 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.3605, allocations: 7.938 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3605, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.3614, allocations: 95.92 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.3618, allocations: 285 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.3629, allocations: 170.4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/0.3638, allocations: 104.7 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3638, allocations: 3.984 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.3649, allocations: 221.6 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.3649, allocations: 3.938 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002924/0.3678, allocations: 493 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.3679, allocations: 59.41 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.3683, allocations: 413.9 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.3684, allocations: 41.64 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.3685, allocations: 97.44 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.3685, allocations: 43.67 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.3687, allocations: 129.5 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3689, allocations: 322.8 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.3692, allocations: 187.3 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.3696, allocations: 249.2 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.37, allocations: 270.8 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.37, allocations: 0 / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009327/0.3709, allocations: 0.547 MB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/0.371, allocations: 79.38 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.371, allocations: 7.984 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.371, allocations: 7.938 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.3712, allocations: 23.92 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3712, allocations: 4 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.3718, allocations: 63.97 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/0.3719, allocations: 59.98 kB / 1.336 GB, free: 7.297 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.0002466/0.3721, allocations: 200.2 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.3722, allocations: 39.72 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.3723, allocations: 43.62 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.3723, allocations: 4 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3723, allocations: 0 / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3723, allocations: 3.984 kB / 1.336 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.3747, allocations: 0.6763 MB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3747, allocations: 3.938 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.3747, allocations: 4 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.3748, allocations: 4 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.3748, allocations: 15.97 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3748, allocations: 4 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3748, allocations: 4 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.3768, allocations: 483.4 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.3771, allocations: 141.4 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.3771, allocations: 8 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005397/0.3777, allocations: 31.97 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.3777, allocations: 11.98 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.3778, allocations: 59.97 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003065/0.3781, allocations: 295 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3781, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003756/0.3785, allocations: 75.92 kB / 1.338 GB, free: 5.156 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.0001619/0.3786, allocations: 116.2 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.3801, allocations: 480 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3801, allocations: 4 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000877/0.381, allocations: 111.9 kB / 1.339 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.0004286/0.3815, allocations: 33.94 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.3833, allocations: 0.5501 MB / 1.339 GB, free: 3.809 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.3835, allocations: 159 kB / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.073e-05/0.3836, allocations: 17.08 kB / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.3836, allocations: 15.44 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of SimCode: time 1.503e-06/0.3836, allocations: 0 / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of Templates: time 0.01061/0.3942, allocations: 6.081 MB / 1.346 GB, free: 13.46 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.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: 8.969044971992844]