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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001732/0.001733, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.002267/0.002268, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 71.84 kB / 1.07 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003628/1.051, allocations: 1.738 MB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001716/1.052, allocations: 0.6246 MB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/1.053, allocations: 0 / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/1.053, allocations: 11.86 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/1.053, allocations: 35.8 kB / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/1.054, allocations: 362.8 kB / 1.229 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009249/1.055, allocations: 0.6321 MB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/1.055, allocations: 33.08 kB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005934/1.056, allocations: 315.5 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/1.056, allocations: 159.5 kB / 1.23 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/1.056, allocations: 40 kB / 1.23 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/1.057, allocations: 44 kB / 1.23 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/1.057, allocations: 128.8 kB / 1.23 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/1.057, allocations: 215 kB / 1.231 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006928/1.058, allocations: 0.5961 MB / 1.231 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.058, allocations: 0 / 1.231 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/1.058, allocations: 0 / 1.231 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.67e-05/1.058, allocations: 0 / 1.231 GB, free: 8.586 MB / 0.9512 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.001802/1.06, allocations: 0.9209 MB / 1.232 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.06, allocations: 12.03 kB / 1.232 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/1.06, allocations: 56.66 kB / 1.232 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/1.06, allocations: 338.5 kB / 1.232 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/1.06, allocations: 24.3 kB / 1.232 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/1.061, allocations: 32.36 kB / 1.233 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/1.062, allocations: 230 kB / 1.233 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.062, allocations: 4.188 kB / 1.233 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/1.062, allocations: 7.938 kB / 1.233 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/1.062, allocations: 0 / 1.233 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/1.062, allocations: 115.9 kB / 1.233 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/1.064, allocations: 0.6798 MB / 1.234 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009756/1.065, allocations: 174.5 kB / 1.234 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/1.065, allocations: 116.8 kB / 1.234 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/1.066, allocations: 4 kB / 1.234 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009398/1.066, allocations: 223.2 kB / 1.234 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 2.175e-06/1.066, allocations: 7.938 kB / 1.234 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002391/1.069, allocations: 0.4906 MB / 1.235 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.069, allocations: 59.41 kB / 1.235 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005372/1.069, allocations: 441.9 kB / 1.235 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.4e-05/1.07, allocations: 41.69 kB / 1.235 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/1.07, allocations: 109.3 kB / 1.235 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/1.07, allocations: 39.73 kB / 1.235 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/1.07, allocations: 137.5 kB / 1.235 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.07, allocations: 322.8 kB / 1.236 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/1.07, allocations: 147.9 kB / 1.236 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/1.071, allocations: 197.8 kB / 1.236 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/1.071, allocations: 303.4 kB / 1.236 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.071, allocations: 0 / 1.236 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008858/1.072, allocations: 0.5184 MB / 1.237 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.583e-05/1.072, allocations: 103.3 kB / 1.237 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.072, allocations: 4.172 kB / 1.237 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.072, allocations: 8 kB / 1.237 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/1.073, allocations: 19.97 kB / 1.237 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/1.073, allocations: 7.938 kB / 1.237 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/1.073, allocations: 59.84 kB / 1.237 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.073, allocations: 59.98 kB / 1.237 GB, free: 2.293 MB / 0.9512 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.0002937/1.073, allocations: 222.6 kB / 1.237 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/1.074, allocations: 39.75 kB / 1.237 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/1.074, allocations: 43.8 kB / 1.237 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/1.074, allocations: 0 / 1.237 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/1.074, allocations: 3.938 kB / 1.237 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/1.074, allocations: 244.6 kB / 1.238 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-05/1.074, allocations: 19.94 kB / 1.238 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/1.075, allocations: 31.95 kB / 1.238 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/1.075, allocations: 15.98 kB / 1.238 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001572/1.076, allocations: 422.9 kB / 1.238 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001631/1.078, allocations: 0.5374 MB / 1.239 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006755/1.078, allocations: 126.7 kB / 1.239 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003366/1.079, allocations: 323 kB / 1.239 GB, free: 260 kB / 0.9512 GB Notification: Performance of Backend: time 7.12e-07/1.079, allocations: 0 / 1.239 GB, free: 260 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009534/1.08, allocations: 450.7 kB / 1.239 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001155/1.081, allocations: 0.9972 MB / 1.24 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of Templates: time 0.01088/1.092, allocations: 5.544 MB / 1.246 GB, free: 9.102 MB / 0.9669 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/jenkins1/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