Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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.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_latest_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.0009907/0.0009908, allocations: 92 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.00937/0.00937, allocations: 170.2 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.829/2.829, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005122/0.0005123, allocations: 15.7 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.427, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002466/0.4295, allocations: 1.45 MB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.4313, allocations: 0.687 MB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.4314, allocations: 4 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.4315, allocations: 3.938 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.4317, allocations: 31.84 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009894/0.4327, allocations: 342.7 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006924/0.4334, allocations: 0.5305 MB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.4336, allocations: 21.12 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005869/0.4342, allocations: 326.9 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.4346, allocations: 175 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.4348, allocations: 16 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.4348, allocations: 12 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.435, allocations: 111.7 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.4353, allocations: 228.4 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006191/0.4359, allocations: 0.5763 MB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.436, allocations: 0 / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.024e-06/0.436, allocations: 0 / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.436, allocations: 0 / 1.063 GB, free: 0.9375 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.001357/0.4374, allocations: 0.7779 MB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.4374, allocations: 8.031 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.4376, allocations: 56.38 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.4382, allocations: 334.2 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.4383, allocations: 24.55 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.4384, allocations: 32.36 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.4396, allocations: 243.5 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4396, allocations: 3.938 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.4396, allocations: 4 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.4396, allocations: 4 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/0.4405, allocations: 127.9 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.4421, allocations: 0.6835 MB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.4433, allocations: 194.5 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008002/0.4441, allocations: 128.8 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.4441, allocations: 0 / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.4452, allocations: 244.8 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.795e-06/0.4452, allocations: 0 / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002804/0.448, allocations: 0.5242 MB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.4481, allocations: 63.38 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.4486, allocations: 441.8 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/0.4487, allocations: 41.7 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4489, allocations: 109.3 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.4489, allocations: 31.55 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.449, allocations: 45.69 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.4492, allocations: 330.8 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.4495, allocations: 143.9 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.4498, allocations: 191.9 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.4503, allocations: 295 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.4503, allocations: 4 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009359/0.4512, allocations: 0.5144 MB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.956e-05/0.4513, allocations: 99.56 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4513, allocations: 4 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4514, allocations: 4 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.4515, allocations: 23.92 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4516, allocations: 3.984 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.4521, allocations: 79.72 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.4522, allocations: 63.92 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.0003104/0.4526, allocations: 216.3 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.4526, allocations: 47.52 kB / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.4527, allocations: 35.8 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4527, allocations: 0 / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4527, allocations: 0 / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4527, allocations: 4 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.4551, allocations: 0.8066 MB / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4551, allocations: 4 kB / 1.07 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.4551, allocations: 11.92 kB / 1.07 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4552, allocations: 0 / 1.07 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.4552, allocations: 23.92 kB / 1.07 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4552, allocations: 0 / 1.07 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4552, allocations: 0 / 1.07 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.4571, allocations: 0.491 MB / 1.07 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.4574, allocations: 248.4 kB / 1.071 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/0.4575, allocations: 19.94 kB / 1.071 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.458, allocations: 39.95 kB / 1.071 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.458, allocations: 8 kB / 1.071 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/0.4581, allocations: 55.97 kB / 1.071 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003447/0.4585, allocations: 319.1 kB / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.843e-06/0.4585, allocations: 0 / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004021/0.4589, allocations: 75.86 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.0002169/0.4591, allocations: 137.9 kB / 1.071 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.4605, allocations: 486.4 kB / 1.072 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4605, allocations: 0 / 1.072 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008222/0.4614, allocations: 136.3 kB / 1.072 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.4618, allocations: 39.78 kB / 1.072 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.4636, allocations: 0.7303 MB / 1.073 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.464, allocations: 0.7904 MB / 1.073 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.663e-05/0.4641, allocations: 17.42 kB / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.4641, allocations: 15.44 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.4642, allocations: 0 / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of Templates: time 0.01068/0.4748, allocations: 5.411 MB / 1.079 GB, free: 396 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches