Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002324/0.002324, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002704/0.002704, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.112/3.112, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8108 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.512e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003133/0.003169, allocations: 1.548 MB / 0.8123 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.004619, allocations: 0.5282 MB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.004669, allocations: 0 / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.004775, allocations: 9.562 kB / 0.8128 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.004905, allocations: 31.78 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.005758, allocations: 316.8 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005846/0.006343, allocations: 487.4 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.006387, allocations: 4 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.006924, allocations: 353 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.007227, allocations: 127.7 kB / 0.8141 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.007367, allocations: 29.75 kB / 0.8141 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.007494, allocations: 24 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.007657, allocations: 119.7 kB / 0.8142 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.00785, allocations: 127.7 kB / 0.8144 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.00846, allocations: 467.6 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.008464, allocations: 0 / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.543e-06/0.008466, allocations: 0 / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.008472, allocations: 0.5938 kB / 0.8148 GB, free: 14.05 MB / 0.7761 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.001504/0.009976, allocations: 0.9225 MB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.01002, allocations: 13.28 kB / 0.8157 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.01018, allocations: 56.7 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.01068, allocations: 254.9 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.01073, allocations: 22.88 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.01081, allocations: 32.36 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.01145, allocations: 202 kB / 0.8163 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.01146, allocations: 4.172 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.01149, allocations: 384 / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.01149, allocations: 8.312 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.01189, allocations: 77.14 kB / 0.8163 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.0124, allocations: 340.9 kB / 0.8167 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.01302, allocations: 156.5 kB / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.01342, allocations: 88.23 kB / 0.8169 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.01346, allocations: 4.688 kB / 0.8169 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005717/0.01403, allocations: 208.7 kB / 0.8171 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.01403, allocations: 0 / 0.8171 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.001596/0.01562, allocations: 436.1 kB / 0.8175 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.01569, allocations: 63.33 kB / 0.8176 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.01622, allocations: 470.7 kB / 0.818 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.01628, allocations: 38.55 kB / 0.8181 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.01641, allocations: 152.1 kB / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.01646, allocations: 38.02 kB / 0.8182 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.01669, allocations: 139.1 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000269/0.01696, allocations: 0.5001 MB / 0.8189 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.01745, allocations: 207.3 kB / 0.8191 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.01788, allocations: 285.1 kB / 0.8193 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.01835, allocations: 322 kB / 0.8196 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01836, allocations: 3.938 kB / 0.8196 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001063/0.01942, allocations: 0.6147 MB / 0.8202 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.946e-05/0.01952, allocations: 87.36 kB / 0.8203 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.01953, allocations: 4 kB / 0.8203 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.01955, allocations: 4.562 kB / 0.8203 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.01975, allocations: 32.52 kB / 0.8204 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.01976, allocations: 3.938 kB / 0.8204 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.02013, allocations: 46.33 kB / 0.8204 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.02023, allocations: 63.91 kB / 0.8205 GB, free: 7.887 MB / 0.7761 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.000244/0.02048, allocations: 190.5 kB / 0.8207 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.02056, allocations: 44.98 kB / 0.8207 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.876e-05/0.02064, allocations: 31.69 kB / 0.8207 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.02065, allocations: 7.984 kB / 0.8207 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.02065, allocations: 5.094 kB / 0.8207 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.02066, allocations: 3.938 kB / 0.8207 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.02239, allocations: 0.7426 MB / 0.8215 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02239, allocations: 3.906 kB / 0.8215 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.02243, allocations: 4 kB / 0.8215 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.02243, allocations: 3.984 kB / 0.8215 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.02247, allocations: 19.92 kB / 0.8215 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.02248, allocations: 3.938 kB / 0.8215 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.02248, allocations: 7.984 kB / 0.8215 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.02362, allocations: 496 kB / 0.822 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.02393, allocations: 134.7 kB / 0.8221 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.103e-05/0.02401, allocations: 11.94 kB / 0.8221 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.02429, allocations: 23.97 kB / 0.8222 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.02433, allocations: 9.016 kB / 0.8222 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.02441, allocations: 59.98 kB / 0.8222 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003014/0.02471, allocations: 287.1 kB / 0.8225 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02471, allocations: 1.125 kB / 0.8225 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003638/0.02508, allocations: 67.98 kB / 0.8226 GB, free: 5.691 MB / 0.7761 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.0001745/0.02525, allocations: 122.8 kB / 0.8227 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.0264, allocations: 0.5883 MB / 0.8232 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.0264, allocations: 3.031 kB / 0.8233 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.02682, allocations: 107.6 kB / 0.8234 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.02721, allocations: 53.55 kB / 0.8234 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.02832, allocations: 0.4901 MB / 0.8239 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.02852, allocations: 171.8 kB / 0.824 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.918e-05/0.02858, allocations: 13.14 kB / 0.8241 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.02863, allocations: 16.5 kB / 0.8241 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.02863, allocations: 0 / 0.8241 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of Templates: time 0.01103/0.03966, allocations: 5.897 MB / 0.8298 GB, free: 14.11 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.464353929040954]