Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.007022/0.007022, allocations: 106.3 kB / 15.74 MB, free: 6.449 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.001424/0.001424, allocations: 195.1 kB / 16.67 MB, free: 6.352 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.88/2.88, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.83 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3451, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002797/0.3479, allocations: 1.53 MB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3492, allocations: 0.5384 MB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.738e-05/0.3493, allocations: 4 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.3494, allocations: 11.86 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.3495, allocations: 23.86 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.3504, allocations: 311.3 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006567/0.351, allocations: 479.4 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.3511, allocations: 8 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/0.3515, allocations: 283.6 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.3518, allocations: 136.7 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.461e-05/0.3519, allocations: 28 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.352, allocations: 28 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.3521, allocations: 115.7 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.3523, allocations: 183 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.3527, allocations: 426.4 kB / 1.225 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3527, allocations: 0 / 1.225 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3527, allocations: 4 kB / 1.225 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.3527, allocations: 0 / 1.225 GB, free: 9.727 MB / 0.9825 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.001314/0.354, allocations: 0.8833 MB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3541, allocations: 8.031 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.3542, allocations: 52.7 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.3546, allocations: 310.6 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.6e-05/0.3547, allocations: 16.36 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.3547, allocations: 28.38 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.3558, allocations: 225.7 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3558, allocations: 192 / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.3558, allocations: 3.938 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.3559, allocations: 4 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/0.3567, allocations: 95.86 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.3571, allocations: 401.2 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.3583, allocations: 170.4 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.3591, allocations: 104.8 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3591, allocations: 4 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.3602, allocations: 223.1 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.3602, allocations: 0 / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002791/0.363, allocations: 492.9 kB / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.363, allocations: 67.39 kB / 1.228 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.3634, allocations: 405.9 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.3635, allocations: 41.69 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.3636, allocations: 89.45 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.3636, allocations: 43.73 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.3639, allocations: 125.5 kB / 1.228 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.364, allocations: 322.8 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.3642, allocations: 123.9 kB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.3645, allocations: 174.9 kB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.3649, allocations: 279.3 kB / 1.229 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3649, allocations: 0 / 1.229 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008508/0.3657, allocations: 0.4889 MB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.828e-05/0.3658, allocations: 89.19 kB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.3658, allocations: 8.188 kB / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.3659, allocations: 0 / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.3661, allocations: 27.92 kB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3661, allocations: 7.938 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.3666, allocations: 51.91 kB / 1.23 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.3667, allocations: 59.97 kB / 1.23 GB, free: 4.051 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.0002218/0.3669, allocations: 202.2 kB / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.367, allocations: 39.7 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.367, allocations: 43.73 kB / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.367, allocations: 4 kB / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.367, allocations: 0 / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.367, allocations: 0 / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.3693, allocations: 0.7458 MB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3693, allocations: 0 / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.3694, allocations: 7.984 kB / 1.231 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3694, allocations: 4 kB / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.3694, allocations: 19.98 kB / 1.231 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3694, allocations: 3.938 kB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3694, allocations: 3.938 kB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.3713, allocations: 474.6 kB / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.3715, allocations: 204.6 kB / 1.231 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.3716, allocations: 19.98 kB / 1.231 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.3721, allocations: 27.97 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3721, allocations: 15.92 kB / 1.232 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-05/0.3722, allocations: 55.98 kB / 1.232 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002824/0.3725, allocations: 295.1 kB / 1.232 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3725, allocations: 0 / 1.232 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003553/0.3728, allocations: 63.98 kB / 1.232 GB, free: 1.758 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.000184/0.373, allocations: 135.1 kB / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.3744, allocations: 398.5 kB / 1.232 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3744, allocations: 0 / 1.232 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008185/0.3753, allocations: 116.2 kB / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3756, allocations: 33.48 kB / 1.233 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.3772, allocations: 0.5549 MB / 1.233 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.3775, allocations: 0.7708 MB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.882e-05/0.3776, allocations: 13.08 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.3776, allocations: 15.44 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.3776, allocations: 0 / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.01007/0.3877, allocations: 4.946 MB / 1.239 GB, free: 10.6 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches