Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonthsMinus,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.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_10_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.001454/0.001454, allocations: 111.2 kB / 16.42 MB, free: 6.465 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.001164/0.001165, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 15.12 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.632/2.632, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 67.89 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.049, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003798/1.053, allocations: 1.745 MB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001985/1.055, allocations: 0.6306 MB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/1.055, allocations: 0 / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/1.055, allocations: 11.86 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/1.055, allocations: 39.56 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/1.057, allocations: 361.8 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008931/1.058, allocations: 0.6399 MB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/1.058, allocations: 29.11 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/1.058, allocations: 311.6 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/1.059, allocations: 160.6 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002125/1.059, allocations: 43.94 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/1.059, allocations: 40 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/1.06, allocations: 127.7 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003096/1.06, allocations: 219 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008223/1.061, allocations: 0.5936 MB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.061, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.004e-06/1.061, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.532e-05/1.061, allocations: 0 / 1.172 GB, free: 14.88 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.002008/1.063, allocations: 0.8976 MB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/1.063, allocations: 20.86 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/1.063, allocations: 48.47 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/1.064, allocations: 338.1 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/1.064, allocations: 24.36 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.283e-05/1.064, allocations: 28.38 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/1.065, allocations: 237.9 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.065, allocations: 192 / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/1.065, allocations: 15.86 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.065, allocations: 0 / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008675/1.066, allocations: 119.9 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/1.068, allocations: 0.6643 MB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.069, allocations: 182.5 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008236/1.07, allocations: 117 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/1.07, allocations: 8 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/1.071, allocations: 239 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 3.026e-06/1.071, allocations: 0 / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002737/1.074, allocations: 496.8 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/1.074, allocations: 63.39 kB / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/1.074, allocations: 437.9 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/1.074, allocations: 49.62 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/1.074, allocations: 109.3 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/1.074, allocations: 35.56 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/1.075, allocations: 137.2 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.075, allocations: 330.8 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/1.075, allocations: 139.9 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/1.076, allocations: 185.9 kB / 1.177 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/1.076, allocations: 307.2 kB / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.076, allocations: 4 kB / 1.177 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009341/1.077, allocations: 0.5125 MB / 1.178 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.783e-05/1.077, allocations: 95.38 kB / 1.178 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.077, allocations: 4 kB / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.077, allocations: 4 kB / 1.178 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/1.077, allocations: 19.92 kB / 1.178 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/1.077, allocations: 7.984 kB / 1.178 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/1.078, allocations: 56.05 kB / 1.178 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/1.078, allocations: 63.98 kB / 1.178 GB, free: 8.613 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.0003204/1.078, allocations: 224.2 kB / 1.178 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/1.078, allocations: 35.53 kB / 1.178 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.759e-05/1.079, allocations: 39.78 kB / 1.178 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.079, allocations: 0 / 1.178 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.079, allocations: 8 kB / 1.178 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/1.079, allocations: 244.4 kB / 1.178 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.079, allocations: 19.94 kB / 1.178 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/1.08, allocations: 36.95 kB / 1.179 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/1.08, allocations: 4 kB / 1.179 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001862/1.081, allocations: 430.9 kB / 1.179 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001936/1.083, allocations: 0.5371 MB / 1.179 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008102/1.084, allocations: 115.9 kB / 1.18 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004189/1.085, allocations: 323 kB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of Backend: time 6.92e-07/1.085, allocations: 0 / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001107/1.086, allocations: 458.4 kB / 1.18 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001375/1.087, allocations: 0.9782 MB / 1.181 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of Templates: time 0.01161/1.099, allocations: 5.554 MB / 1.187 GB, free: 15.45 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches