Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 116.1 kB / 16.42 MB, free: 6.48 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.001319/0.001319, allocations: 186.6 kB / 17.35 MB, free: 5.754 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.403/1.403, 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 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003546/1.053, allocations: 1.74 MB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001648/1.055, allocations: 0.6246 MB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/1.055, allocations: 0 / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001428/1.055, allocations: 11.86 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/1.055, allocations: 39.56 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/1.057, allocations: 366.8 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001185/1.058, allocations: 0.636 MB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/1.058, allocations: 37.09 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007723/1.059, allocations: 311.6 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005569/1.059, allocations: 156.7 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002106/1.059, allocations: 40 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/1.06, allocations: 44 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/1.06, allocations: 131.5 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002541/1.06, allocations: 215 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006552/1.061, allocations: 0.5962 MB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.061, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.763e-06/1.061, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.601e-05/1.061, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 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.001655/1.062, allocations: 0.9169 MB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.062, allocations: 16.58 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/1.063, allocations: 56.64 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/1.063, allocations: 338.5 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/1.063, allocations: 28.36 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/1.063, allocations: 28.38 kB / 1.174 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009813/1.064, allocations: 233.9 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.064, allocations: 192 / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/1.064, allocations: 15.86 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.064, allocations: 0 / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/1.065, allocations: 115.9 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/1.066, allocations: 0.672 MB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/1.067, allocations: 182.5 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007168/1.068, allocations: 112.8 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/1.068, allocations: 7.984 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009478/1.069, allocations: 235.1 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/1.069, allocations: 0 / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002538/1.072, allocations: 496.2 kB / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/1.072, allocations: 67.39 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/1.072, allocations: 437.9 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/1.072, allocations: 45.69 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.072, allocations: 105.4 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/1.072, allocations: 39.7 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/1.073, allocations: 133.5 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.073, allocations: 334.7 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/1.073, allocations: 135.9 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/1.073, allocations: 201.8 kB / 1.177 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/1.074, allocations: 295.5 kB / 1.177 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.074, allocations: 4 kB / 1.177 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009144/1.075, allocations: 0.5184 MB / 1.178 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-05/1.075, allocations: 95.38 kB / 1.178 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.075, allocations: 4 kB / 1.178 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.075, allocations: 4 kB / 1.178 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/1.075, allocations: 19.92 kB / 1.178 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.075, allocations: 4 kB / 1.178 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/1.076, allocations: 67.97 kB / 1.178 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-05/1.076, allocations: 63.98 kB / 1.178 GB, free: 8.598 MB / 0.9044 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.0002585/1.076, allocations: 224.2 kB / 1.178 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/1.076, allocations: 35.77 kB / 1.178 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.837e-05/1.076, allocations: 39.78 kB / 1.178 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.076, allocations: 4 kB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.076, allocations: 4 kB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/1.077, allocations: 248.6 kB / 1.179 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/1.077, allocations: 19.94 kB / 1.179 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/1.077, allocations: 31.97 kB / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/1.077, allocations: 7.984 kB / 1.179 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00168/1.079, allocations: 424.7 kB / 1.179 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0017/1.08, allocations: 0.5347 MB / 1.179 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007205/1.081, allocations: 119.8 kB / 1.18 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000336/1.082, allocations: 323 kB / 1.18 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of Backend: time 8.62e-07/1.082, allocations: 0 / 1.18 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000945/1.083, allocations: 453 kB / 1.18 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001201/1.084, allocations: 0.9949 MB / 1.181 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of Templates: time 0.01042/1.094, allocations: 5.533 MB / 1.187 GB, free: 15.44 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches