Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00456/0.00456, allocations: 102 kB / 15.73 MB, free: 6.039 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.001078/0.001078, allocations: 194 kB / 16.67 MB, free: 5.961 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 72.11 kB / 1.054 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8741/0.8754, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002656/0.8781, allocations: 1.499 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.8794, allocations: 0.554 MB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.8794, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.79e-05/0.8795, allocations: 7.875 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.8797, allocations: 27.84 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.8804, allocations: 311.4 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006275/0.881, allocations: 0.5071 MB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.8811, allocations: 4 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.8814, allocations: 271.6 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.8817, allocations: 147.6 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.8817, allocations: 24 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.395e-05/0.8818, allocations: 28 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.8819, allocations: 123.6 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.8821, allocations: 183.1 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.8825, allocations: 424.3 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8825, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8825, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.8825, allocations: 0 / 1.212 GB, free: 9.582 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.001171/0.8837, allocations: 0.8664 MB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.8837, allocations: 15.97 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.8838, allocations: 48.47 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.8842, allocations: 314.3 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.8843, allocations: 16.36 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.8844, allocations: 24.38 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009016/0.8853, allocations: 213.5 kB / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8853, allocations: 4.125 kB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.8853, allocations: 3.938 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8853, allocations: 4 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.8861, allocations: 107.9 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.8865, allocations: 385.2 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.8876, allocations: 182.5 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/0.8883, allocations: 108.8 kB / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.8884, allocations: 0 / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008631/0.8892, allocations: 230.1 kB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.8892, allocations: 0 / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002538/0.8918, allocations: 488.8 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.8919, allocations: 59.39 kB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.8923, allocations: 409.9 kB / 1.215 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.8924, allocations: 41.69 kB / 1.215 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.8925, allocations: 97.42 kB / 1.215 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.8926, allocations: 43.41 kB / 1.215 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.8928, allocations: 129.3 kB / 1.215 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003061/0.8931, allocations: 318.8 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.8934, allocations: 115.9 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.8937, allocations: 175.1 kB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.894, allocations: 278.8 kB / 1.216 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.894, allocations: 0 / 1.216 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008041/0.8949, allocations: 495 kB / 1.217 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.895, allocations: 87.31 kB / 1.217 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.895, allocations: 4 kB / 1.217 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.895, allocations: 0 / 1.217 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.8952, allocations: 27.92 kB / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.8952, allocations: 4 kB / 1.217 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.8956, allocations: 59.98 kB / 1.217 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.349e-05/0.8957, allocations: 59.97 kB / 1.217 GB, free: 3.926 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.0002922/0.896, allocations: 196 kB / 1.217 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.8961, allocations: 43.47 kB / 1.217 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.103e-05/0.8962, allocations: 39.73 kB / 1.217 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8962, allocations: 7.938 kB / 1.217 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8962, allocations: 0 / 1.217 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.8962, allocations: 0 / 1.217 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.8984, allocations: 0.7443 MB / 1.218 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8985, allocations: 0 / 1.218 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.8985, allocations: 11.92 kB / 1.218 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.8985, allocations: 8 kB / 1.218 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.8986, allocations: 19.98 kB / 1.218 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.8986, allocations: 4 kB / 1.218 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8986, allocations: 0 / 1.218 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.9003, allocations: 481.7 kB / 1.218 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.9006, allocations: 192.5 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.9006, allocations: 15.98 kB / 1.219 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.9011, allocations: 27.97 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.9011, allocations: 11.98 kB / 1.219 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/0.9012, allocations: 59.97 kB / 1.219 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002961/0.9015, allocations: 295.1 kB / 1.219 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9015, allocations: 4 kB / 1.219 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003477/0.9019, allocations: 60 kB / 1.219 GB, free: 1.637 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.9021, allocations: 119.2 kB / 1.219 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.9033, allocations: 442.8 kB / 1.22 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9033, allocations: 0 / 1.22 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.904, allocations: 123.8 kB / 1.22 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.9044, allocations: 25.48 kB / 1.22 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.9059, allocations: 0.5479 MB / 1.22 GB, free: 340 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.9063, allocations: 0.7747 MB / 1.221 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.75e-05/0.9064, allocations: 13.08 kB / 1.221 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.9065, allocations: 15.42 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.9065, allocations: 3.938 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.009728/0.9162, allocations: 5.035 MB / 1.226 GB, free: 10.36 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches