Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01039/0.01039, allocations: 98.62 kB / 15.73 MB, free: 5.547 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.002237/0.002237, allocations: 192.2 kB / 16.67 MB, free: 5.492 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.055 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.83/2.83, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.83 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3253, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002552/0.3279, allocations: 1.532 MB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3291, allocations: 0.5345 MB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.3292, allocations: 8 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.999e-05/0.3293, allocations: 11.86 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3294, allocations: 19.86 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000748/0.3302, allocations: 309.1 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.3307, allocations: 0.5033 MB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.3308, allocations: 8 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.3311, allocations: 267.6 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.3314, allocations: 157.6 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.453e-05/0.3315, allocations: 28 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.3315, allocations: 24 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3317, allocations: 111.7 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.3319, allocations: 191 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.3323, allocations: 422.6 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3323, allocations: 0 / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3323, allocations: 4 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3323, allocations: 0 / 1.212 GB, free: 5.562 MB / 0.9669 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.001228/0.3336, allocations: 0.8626 MB / 1.213 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3336, allocations: 8.625 kB / 1.213 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.3337, allocations: 56.39 kB / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.3342, allocations: 306.3 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.3342, allocations: 20.36 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.3343, allocations: 28.34 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009751/0.3353, allocations: 210 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3353, allocations: 4.125 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.3353, allocations: 15.92 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3353, allocations: 0 / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007748/0.3361, allocations: 95.92 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.3366, allocations: 393.2 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.3376, allocations: 174.3 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.3384, allocations: 116.8 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3384, allocations: 8.359 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009547/0.3394, allocations: 219.1 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/0.3394, allocations: 0 / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002597/0.342, allocations: 490.8 kB / 1.215 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3421, allocations: 59.41 kB / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.3425, allocations: 413.9 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.3425, allocations: 37.7 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.3426, allocations: 101.3 kB / 1.215 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.3427, allocations: 31.55 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.3429, allocations: 129.3 kB / 1.215 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.343, allocations: 322.8 kB / 1.216 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.3433, allocations: 115.9 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.3435, allocations: 182.6 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3439, allocations: 279 kB / 1.216 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3439, allocations: 0 / 1.216 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007694/0.3447, allocations: 486.2 kB / 1.217 GB, free: 168 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/0.3448, allocations: 92.88 kB / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3448, allocations: 4 kB / 1.217 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3448, allocations: 4.188 kB / 1.217 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.345, allocations: 27.91 kB / 1.217 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.345, allocations: 4 kB / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.3455, allocations: 59.73 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.3456, allocations: 59.98 kB / 1.217 GB, free: 15.91 MB / 0.9825 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.0002093/0.3458, allocations: 196 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.3459, allocations: 43.45 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.346, allocations: 35.75 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.346, allocations: 4 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.346, allocations: 0 / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.346, allocations: 0 / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.3483, allocations: 0.762 MB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3483, allocations: 0 / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.3483, allocations: 7.938 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3483, allocations: 0 / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.3484, allocations: 27.97 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3484, allocations: 0 / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3484, allocations: 0 / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.3501, allocations: 479.2 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.3504, allocations: 196.5 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.3505, allocations: 12 kB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004684/0.351, allocations: 35.95 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.351, allocations: 7.938 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.3511, allocations: 59.97 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002896/0.3514, allocations: 299 kB / 1.219 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.543e-06/0.3514, allocations: 0 / 1.219 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003459/0.3517, allocations: 71.92 kB / 1.219 GB, free: 13.6 MB / 0.9825 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.0001561/0.3519, allocations: 115.2 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.3532, allocations: 449.8 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3532, allocations: 0 / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.354, allocations: 112.3 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.3543, allocations: 37.47 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.3558, allocations: 0.5383 MB / 1.22 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3562, allocations: 0.7745 MB / 1.221 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.351e-05/0.3563, allocations: 17.08 kB / 1.221 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.3563, allocations: 19.44 kB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3563, allocations: 0 / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of Templates: time 0.008439/0.3648, allocations: 5.035 MB / 1.226 GB, free: 6.332 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches