Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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 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.Utilities.Time.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 116.7 kB / 16.42 MB, free: 6.484 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.001793/0.001793, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.368/1.368, 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 11.0.1-master/package.mo): time 2.645/2.645, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 55.91 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003355/1.057, allocations: 1.519 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00154/1.059, allocations: 0.5597 MB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/1.059, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/1.059, allocations: 7.875 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/1.059, allocations: 23.86 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009939/1.06, allocations: 311 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007079/1.061, allocations: 0.5033 MB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/1.061, allocations: 11.98 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006273/1.062, allocations: 271.6 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/1.062, allocations: 139.7 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001475/1.062, allocations: 28 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/1.062, allocations: 31.94 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/1.063, allocations: 115.7 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/1.063, allocations: 187 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004867/1.063, allocations: 416.5 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/1.063, allocations: 3.938 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/1.063, allocations: 4 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.05e-05/1.063, allocations: 0 / 1.212 GB, free: 9.535 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001478/1.065, allocations: 0.8586 MB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.065, allocations: 8.031 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/1.065, allocations: 52.47 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/1.066, allocations: 314.2 kB / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/1.066, allocations: 20.36 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/1.066, allocations: 20.38 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/1.067, allocations: 214 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/1.067, allocations: 4.188 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/1.067, allocations: 7.938 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.067, allocations: 0 / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/1.068, allocations: 107.9 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/1.068, allocations: 389.2 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/1.069, allocations: 174.4 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008005/1.07, allocations: 112.8 kB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/1.07, allocations: 4 kB / 1.215 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/1.071, allocations: 219.2 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.625e-06/1.071, allocations: 0 / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002723/1.074, allocations: 494.7 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/1.074, allocations: 59.39 kB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/1.075, allocations: 409.9 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/1.075, allocations: 45.62 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/1.075, allocations: 97.44 kB / 1.216 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/1.075, allocations: 35.45 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/1.075, allocations: 133.3 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.075, allocations: 326.8 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/1.076, allocations: 115.9 kB / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/1.076, allocations: 171.2 kB / 1.217 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/1.076, allocations: 278.4 kB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.076, allocations: 4 kB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008363/1.077, allocations: 486.8 kB / 1.217 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.077, allocations: 87.56 kB / 1.217 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.077, allocations: 11.94 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/1.077, allocations: 7.984 kB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/1.077, allocations: 19.92 kB / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/1.077, allocations: 4 kB / 1.217 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/1.078, allocations: 55.8 kB / 1.218 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/1.078, allocations: 67.91 kB / 1.218 GB, free: 3.875 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002497/1.078, allocations: 196 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/1.078, allocations: 35.53 kB / 1.218 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/1.079, allocations: 43.67 kB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.079, allocations: 4 kB / 1.218 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.079, allocations: 0 / 1.218 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/1.079, allocations: 196.5 kB / 1.218 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.128e-05/1.079, allocations: 12 kB / 1.218 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/1.079, allocations: 39.95 kB / 1.218 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/1.079, allocations: 7.984 kB / 1.218 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001789/1.081, allocations: 420.6 kB / 1.218 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001913/1.083, allocations: 0.5392 MB / 1.219 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007719/1.084, allocations: 119.9 kB / 1.219 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003501/1.084, allocations: 299.1 kB / 1.219 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of Backend: time 5.81e-07/1.084, allocations: 0 / 1.219 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.085, allocations: 415.2 kB / 1.22 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001157/1.087, allocations: 0.9228 MB / 1.221 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of Templates: time 0.01058/1.097, allocations: 5.04 MB / 1.226 GB, free: 11.4 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches