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.00152/0.00152, allocations: 119.8 kB / 16.42 MB, free: 6.496 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.001733/0.001733, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.431/1.431, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001513, allocations: 63.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.073, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003723/1.077, allocations: 1.736 MB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001806/1.079, allocations: 0.6324 MB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/1.079, allocations: 0 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/1.079, allocations: 15.8 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001783/1.08, allocations: 35.72 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/1.081, allocations: 363 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000857/1.082, allocations: 0.636 MB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/1.082, allocations: 25.11 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/1.082, allocations: 311.6 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/1.083, allocations: 159.3 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/1.083, allocations: 44 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/1.083, allocations: 40 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001596/1.083, allocations: 131.6 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002429/1.084, allocations: 215 kB / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006444/1.084, allocations: 0.5974 MB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.084, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.144e-06/1.084, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.04e-05/1.084, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 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.001704/1.086, allocations: 0.9093 MB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.086, allocations: 8.031 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/1.086, allocations: 52.47 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/1.087, allocations: 338.1 kB / 1.215 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/1.087, allocations: 24.36 kB / 1.215 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.511e-05/1.087, allocations: 24.38 kB / 1.215 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.088, allocations: 243.1 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.088, allocations: 192 / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/1.088, allocations: 7.938 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/1.088, allocations: 4 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/1.089, allocations: 119.8 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/1.09, allocations: 0.6642 MB / 1.216 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/1.091, allocations: 186.5 kB / 1.216 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007879/1.092, allocations: 112.8 kB / 1.216 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/1.092, allocations: 7.984 kB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/1.093, allocations: 233.4 kB / 1.216 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.515e-06/1.093, allocations: 0 / 1.216 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002738/1.096, allocations: 0.493 MB / 1.217 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/1.096, allocations: 59.41 kB / 1.217 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/1.097, allocations: 437.9 kB / 1.217 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/1.097, allocations: 45.69 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/1.097, allocations: 105.3 kB / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/1.097, allocations: 35.61 kB / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/1.097, allocations: 141.2 kB / 1.217 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.097, allocations: 326.8 kB / 1.218 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/1.098, allocations: 131.9 kB / 1.218 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/1.098, allocations: 195.2 kB / 1.218 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/1.098, allocations: 307.2 kB / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.098, allocations: 0 / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008466/1.099, allocations: 0.5125 MB / 1.219 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/1.099, allocations: 97.25 kB / 1.219 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.099, allocations: 0 / 1.219 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/1.099, allocations: 4 kB / 1.219 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/1.099, allocations: 31.91 kB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.099, allocations: 0 / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/1.1, allocations: 63.98 kB / 1.219 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/1.1, allocations: 55.98 kB / 1.219 GB, free: 2.441 MB / 0.9356 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.0002702/1.1, allocations: 224.2 kB / 1.219 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/1.1, allocations: 43.52 kB / 1.219 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/1.1, allocations: 43.78 kB / 1.219 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.101, allocations: 4 kB / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.101, allocations: 0 / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/1.101, allocations: 244.5 kB / 1.22 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/1.101, allocations: 15.94 kB / 1.22 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/1.101, allocations: 31.95 kB / 1.22 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/1.101, allocations: 11.94 kB / 1.22 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001774/1.103, allocations: 423.2 kB / 1.22 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001806/1.105, allocations: 0.5371 MB / 1.221 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007859/1.106, allocations: 119.8 kB / 1.221 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003248/1.106, allocations: 323 kB / 1.221 GB, free: 412 kB / 0.9356 GB Notification: Performance of Backend: time 6.11e-07/1.106, allocations: 0 / 1.221 GB, free: 412 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.107, allocations: 461.2 kB / 1.221 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001129/1.108, allocations: 0.9821 MB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of Templates: time 0.01042/1.119, allocations: 5.52 MB / 1.228 GB, free: 9.281 MB / 0.9512 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