Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009586, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009087/0.009088, allocations: 169.3 kB / 16.26 MB, free: 6.328 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.625/1.625, allocations: 223.3 MB / 240.3 MB, free: 5.359 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 3.174/3.174, allocations: 470.6 MB / 0.7441 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004026, allocations: 13 kB / 0.9123 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4329, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002346/0.4353, allocations: 1.456 MB / 1.071 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.4369, allocations: 0.677 MB / 1.072 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.437, allocations: 3.938 kB / 1.072 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.4371, allocations: 19.86 kB / 1.072 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.4373, allocations: 23.86 kB / 1.072 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008196/0.4381, allocations: 330.5 kB / 1.072 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.4387, allocations: 0.5345 MB / 1.073 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.4388, allocations: 33.08 kB / 1.073 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.4393, allocations: 318.9 kB / 1.073 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.4396, allocations: 167.1 kB / 1.073 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.608e-05/0.4397, allocations: 16 kB / 1.073 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.4398, allocations: 12 kB / 1.073 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.4399, allocations: 115.7 kB / 1.074 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002648/0.4402, allocations: 224.5 kB / 1.074 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.4408, allocations: 0.5762 MB / 1.074 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4409, allocations: 0 / 1.074 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4409, allocations: 0 / 1.074 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4409, allocations: 0 / 1.074 GB, free: 6.867 MB / 0.8262 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.001272/0.4422, allocations: 0.7809 MB / 1.075 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4422, allocations: 8.031 kB / 1.075 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.4424, allocations: 56.38 kB / 1.075 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.4428, allocations: 334.3 kB / 1.075 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.4429, allocations: 16.56 kB / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.461e-05/0.443, allocations: 32.36 kB / 1.075 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.444, allocations: 246 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4441, allocations: 7.875 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.4441, allocations: 3.984 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.4441, allocations: 4 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.4449, allocations: 119.9 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.4463, allocations: 0.6875 MB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.4475, allocations: 198.4 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008121/0.4483, allocations: 126.7 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.4483, allocations: 8 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.4493, allocations: 240.7 kB / 1.077 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.4494, allocations: 0 / 1.077 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002762/0.4521, allocations: 0.5258 MB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.4522, allocations: 59.41 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.4527, allocations: 445.8 kB / 1.078 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/0.4528, allocations: 45.62 kB / 1.078 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.4529, allocations: 109.3 kB / 1.078 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.453, allocations: 39.53 kB / 1.078 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/0.4531, allocations: 37.7 kB / 1.078 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4532, allocations: 330.8 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.4535, allocations: 139.9 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.4539, allocations: 193.9 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.4544, allocations: 296.2 kB / 1.079 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4544, allocations: 8 kB / 1.079 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009241/0.4553, allocations: 0.5124 MB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.4554, allocations: 95.36 kB / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4554, allocations: 0 / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4555, allocations: 4 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.4556, allocations: 27.92 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4556, allocations: 0 / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.4562, allocations: 71.98 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/0.4563, allocations: 71.84 kB / 1.08 GB, free: 0.7188 MB / 0.8262 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.0002668/0.4565, allocations: 212.3 kB / 1.08 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.4566, allocations: 43.44 kB / 1.08 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.543e-05/0.4567, allocations: 47.78 kB / 1.08 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4567, allocations: 0 / 1.08 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4567, allocations: 4 kB / 1.08 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.4567, allocations: 0 / 1.08 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.4591, allocations: 0.8066 MB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4591, allocations: 0 / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.4592, allocations: 8 kB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4592, allocations: 0 / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.4592, allocations: 23.91 kB / 1.081 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4592, allocations: 0 / 1.081 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4592, allocations: 0 / 1.081 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.4612, allocations: 0.4967 MB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.4615, allocations: 240.5 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.4616, allocations: 27.92 kB / 1.082 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.4621, allocations: 35.97 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.4622, allocations: 11.97 kB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.4623, allocations: 59.97 kB / 1.082 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003937/0.4627, allocations: 315.1 kB / 1.082 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4627, allocations: 0 / 1.082 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004357/0.4631, allocations: 75.98 kB / 1.082 GB, free: 14.24 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.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.0003271/0.4634, allocations: 127.2 kB / 1.082 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.4649, allocations: 486.4 kB / 1.083 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4649, allocations: 11.88 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008104/0.4657, allocations: 128.2 kB / 1.083 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.4662, allocations: 43.2 kB / 1.083 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.468, allocations: 0.7266 MB / 1.084 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.4685, allocations: 0.7867 MB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.03e-05/0.4686, allocations: 13.42 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.4686, allocations: 19.42 kB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.4686, allocations: 4 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of Templates: time 0.01132/0.48, allocations: 5.42 MB / 1.09 GB, free: 6.312 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches