Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008875, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.007086/0.007086, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.572/1.572, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.045/3.045, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004245, allocations: 9.344 kB / 0.9028 GB, free: 36.76 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.449, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002327/0.4514, allocations: 1.458 MB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.453, allocations: 0.6807 MB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.4531, allocations: 7.938 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.69e-05/0.4532, allocations: 7.875 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.4533, allocations: 27.84 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007481/0.4541, allocations: 339.6 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005285/0.4546, allocations: 0.5344 MB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4547, allocations: 25.11 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004172/0.4552, allocations: 318.9 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.4554, allocations: 167.1 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.4555, allocations: 16 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.07e-05/0.4556, allocations: 12 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.4557, allocations: 119.7 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.456, allocations: 220.5 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.4566, allocations: 0.5801 MB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4566, allocations: 0 / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4566, allocations: 0 / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4566, allocations: 0 / 1.063 GB, free: 0.9336 MB / 0.8106 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.001157/0.4578, allocations: 0.7731 MB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4578, allocations: 8.031 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.4579, allocations: 60.38 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.4583, allocations: 330.2 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/0.4584, allocations: 20.55 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.4585, allocations: 32.36 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4596, allocations: 247.5 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4596, allocations: 3.938 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.4596, allocations: 0 / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4597, allocations: 7.938 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008323/0.4605, allocations: 131.9 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.4618, allocations: 0.6797 MB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.463, allocations: 206.4 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008178/0.4638, allocations: 124.8 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.4638, allocations: 4 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.4649, allocations: 239.2 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.4649, allocations: 0 / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.00284/0.4677, allocations: 0.5222 MB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.4678, allocations: 67.38 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.4683, allocations: 449.8 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.4684, allocations: 41.64 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.4685, allocations: 105.3 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.4686, allocations: 35.55 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.4687, allocations: 41.69 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4688, allocations: 330.8 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.4691, allocations: 139.9 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.4695, allocations: 194.4 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.4699, allocations: 299.1 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4699, allocations: 0 / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008892/0.4708, allocations: 0.5163 MB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-05/0.4709, allocations: 91.38 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.471, allocations: 4 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.471, allocations: 0 / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.4711, allocations: 31.91 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.4712, allocations: 4 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.4717, allocations: 67.98 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.988e-05/0.4718, allocations: 63.86 kB / 1.069 GB, free: 10.8 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.0002617/0.4721, allocations: 224.3 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.4721, allocations: 39.53 kB / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.4722, allocations: 39.8 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4722, allocations: 4 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4722, allocations: 0 / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.4722, allocations: 3.984 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.4746, allocations: 0.8065 MB / 1.07 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4746, allocations: 4 kB / 1.07 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.4746, allocations: 7.984 kB / 1.07 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4746, allocations: 0 / 1.07 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.4747, allocations: 23.92 kB / 1.07 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.4747, allocations: 3.984 kB / 1.07 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4747, allocations: 0 / 1.07 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.4765, allocations: 0.4927 MB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.4768, allocations: 244.4 kB / 1.071 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.4769, allocations: 23.94 kB / 1.071 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004982/0.4774, allocations: 39.08 kB / 1.071 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.4774, allocations: 4 kB / 1.071 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.4776, allocations: 63.97 kB / 1.071 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003443/0.4779, allocations: 323.1 kB / 1.071 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4779, allocations: 0 / 1.071 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003828/0.4783, allocations: 64 kB / 1.071 GB, free: 8.309 MB / 0.8262 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.00025/0.4786, allocations: 127.5 kB / 1.071 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.4799, allocations: 492.9 kB / 1.072 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.48, allocations: 7.875 kB / 1.072 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.4808, allocations: 140.2 kB / 1.072 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.4812, allocations: 37.53 kB / 1.072 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.483, allocations: 0.7264 MB / 1.073 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.4836, allocations: 0.7866 MB / 1.073 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000155/0.4837, allocations: 21.39 kB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.4838, allocations: 23.44 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.4838, allocations: 0 / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of Templates: time 0.01069/0.4945, allocations: 5.408 MB / 1.079 GB, free: 384 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches