Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 101.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 469.4 MB / 0.7426 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 62.61 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3558, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003186/0.359, allocations: 1.519 MB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.3605, allocations: 0.5325 MB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.3606, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.953e-05/0.3607, allocations: 11.88 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.3609, allocations: 31.84 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000967/0.3619, allocations: 305.4 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.3626, allocations: 0.5033 MB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.3626, allocations: 7.984 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.3631, allocations: 267.7 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.3635, allocations: 135.6 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.3637, allocations: 28 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3638, allocations: 31.94 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.3639, allocations: 115.7 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.3642, allocations: 191 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004935/0.3647, allocations: 422.9 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3647, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.885e-06/0.3647, allocations: 4 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.3647, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 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.001466/0.3662, allocations: 0.8644 MB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3662, allocations: 8.625 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3664, allocations: 52.47 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.3668, allocations: 306.2 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.3669, allocations: 24.3 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.253e-05/0.367, allocations: 32.36 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.368, allocations: 213.9 kB / 1.07 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.368, allocations: 192 / 1.07 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.3681, allocations: 7.922 kB / 1.07 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3681, allocations: 0 / 1.07 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/0.3689, allocations: 100.5 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.3694, allocations: 389.2 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3705, allocations: 186.4 kB / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007816/0.3712, allocations: 108.8 kB / 1.07 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.3713, allocations: 4 kB / 1.07 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009914/0.3723, allocations: 225.4 kB / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.3723, allocations: 0 / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002634/0.3749, allocations: 484.9 kB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.375, allocations: 63.39 kB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.3756, allocations: 417.8 kB / 1.072 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/0.3756, allocations: 37.7 kB / 1.072 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.3758, allocations: 97.44 kB / 1.072 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.3759, allocations: 39.45 kB / 1.072 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.3761, allocations: 125.3 kB / 1.072 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3763, allocations: 322.8 kB / 1.072 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.3765, allocations: 119.9 kB / 1.072 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.3769, allocations: 183.1 kB / 1.072 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.3773, allocations: 273.3 kB / 1.073 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3773, allocations: 0 / 1.073 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008645/0.3781, allocations: 0.4944 MB / 1.073 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.694e-05/0.3782, allocations: 91.31 kB / 1.073 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3782, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3783, allocations: 4 kB / 1.073 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3784, allocations: 24.11 kB / 1.073 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3785, allocations: 4 kB / 1.073 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.379, allocations: 71.66 kB / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.3791, allocations: 59.98 kB / 1.073 GB, free: 5.258 MB / 0.8419 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.0002597/0.3794, allocations: 192 kB / 1.074 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.3794, allocations: 43.47 kB / 1.074 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.3795, allocations: 43.73 kB / 1.074 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3795, allocations: 4 kB / 1.074 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3795, allocations: 0 / 1.074 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3795, allocations: 0 / 1.074 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.3818, allocations: 0.7388 MB / 1.074 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3818, allocations: 3.938 kB / 1.074 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.3819, allocations: 11.92 kB / 1.074 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.3819, allocations: 4 kB / 1.074 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.3819, allocations: 23.97 kB / 1.074 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3819, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3819, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.3838, allocations: 470.7 kB / 1.075 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.3842, allocations: 204.5 kB / 1.075 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.045e-05/0.3843, allocations: 12 kB / 1.075 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/0.3848, allocations: 27.97 kB / 1.075 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.3849, allocations: 15.98 kB / 1.075 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.3849, allocations: 55.97 kB / 1.075 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003646/0.3853, allocations: 295.1 kB / 1.075 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3853, allocations: 3.938 kB / 1.075 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004574/0.3858, allocations: 60 kB / 1.076 GB, free: 2.98 MB / 0.8419 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.0002268/0.386, allocations: 131.7 kB / 1.076 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.3875, allocations: 442.5 kB / 1.076 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3875, allocations: 0 / 1.076 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007889/0.3883, allocations: 123 kB / 1.076 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.3888, allocations: 38.11 kB / 1.076 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3906, allocations: 0.5887 MB / 1.077 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.3911, allocations: 0.7708 MB / 1.078 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.3912, allocations: 15.44 kB / 1.078 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.3912, allocations: 0 / 1.078 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of Templates: time 0.528/0.9192, allocations: 3.678 MB / 1.081 GB, free: 21.68 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches