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.0009388/0.0009388, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001041/0.001041, allocations: 162.7 kB / 24.87 MB, free: 8.891 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 0.9768/0.9768, allocations: 177.2 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.846/1.846, allocations: 377.9 MB / 0.6247 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] 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.643e-06/1.643e-06, allocations: 1.203 kB / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.631e-05, allocations: 2.812 kB / 0.8127 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001847/0.001864, allocations: 1.557 MB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003004, allocations: 0.5413 MB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.003049, allocations: 0 / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.907e-05/0.003128, allocations: 7.922 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.537e-05/0.003214, allocations: 31.78 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.003706, allocations: 317 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.004049, allocations: 489.1 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.004082, allocations: 4 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.004388, allocations: 355.6 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.004568, allocations: 129.1 kB / 0.8161 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.004613, allocations: 28 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.165e-05/0.004655, allocations: 24 kB / 0.8161 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.004736, allocations: 119.6 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.899e-05/0.004835, allocations: 129.3 kB / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.005093, allocations: 378.9 kB / 0.8167 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005095, allocations: 4 kB / 0.8167 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.01e-07/0.005096, allocations: 0 / 0.8167 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.005099, allocations: 2.344 kB / 0.8167 GB, free: 13.41 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.0007219/0.005821, allocations: 0.9065 MB / 0.8176 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.005848, allocations: 12.03 kB / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.005937, allocations: 60.64 kB / 0.8177 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.006161, allocations: 258.8 kB / 0.8179 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.006193, allocations: 17.08 kB / 0.8179 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.006241, allocations: 32.36 kB / 0.818 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.006543, allocations: 201.4 kB / 0.8182 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.006551, allocations: 192 / 0.8182 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.006567, allocations: 4.875 kB / 0.8182 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.006573, allocations: 4.875 kB / 0.8182 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.006656, allocations: 54.38 kB / 0.8182 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.006876, allocations: 252.9 kB / 0.8185 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.007032, allocations: 113.4 kB / 0.8186 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.00711, allocations: 61.78 kB / 0.8186 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.007122, allocations: 0 / 0.8186 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.007291, allocations: 175.8 kB / 0.8188 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 8.41e-07/0.007292, allocations: 0.875 kB / 0.8188 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0004869/0.007779, allocations: 366.5 kB / 0.8191 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.007812, allocations: 63.39 kB / 0.8192 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.008033, allocations: 418.5 kB / 0.8196 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.008067, allocations: 37.7 kB / 0.8196 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.008122, allocations: 144.1 kB / 0.8198 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.008154, allocations: 39.7 kB / 0.8198 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.008276, allocations: 143 kB / 0.82 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.008404, allocations: 0.4961 MB / 0.8204 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.008564, allocations: 163.3 kB / 0.8206 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.008739, allocations: 233 kB / 0.8208 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.008926, allocations: 255 kB / 0.8211 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008928, allocations: 0 / 0.8211 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006238/0.009551, allocations: 0.5351 MB / 0.8216 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.009597, allocations: 79.38 kB / 0.8217 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.0096, allocations: 4.188 kB / 0.8217 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.009609, allocations: 4 kB / 0.8217 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.009719, allocations: 35.91 kB / 0.8217 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.009723, allocations: 4 kB / 0.8217 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.009893, allocations: 51.8 kB / 0.8217 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.009949, allocations: 63.97 kB / 0.8218 GB, free: 7.867 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.0001094/0.01006, allocations: 182.5 kB / 0.822 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.01011, allocations: 47.75 kB / 0.822 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.01014, allocations: 35.69 kB / 0.8221 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01015, allocations: 8 kB / 0.8221 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.01015, allocations: 0 / 0.8221 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.01015, allocations: 3.984 kB / 0.8221 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.01071, allocations: 0.6111 MB / 0.8227 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01071, allocations: 0 / 0.8227 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.01073, allocations: 4 kB / 0.8227 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.01073, allocations: 0 / 0.8227 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.01075, allocations: 31.97 kB / 0.8227 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01076, allocations: 0 / 0.8227 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01076, allocations: 3.938 kB / 0.8227 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.0111, allocations: 450.4 kB / 0.8231 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.01124, allocations: 125.5 kB / 0.8233 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.01128, allocations: 8 kB / 0.8233 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.01142, allocations: 23.97 kB / 0.8233 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.01144, allocations: 19.86 kB / 0.8233 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.01148, allocations: 51.98 kB / 0.8234 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001115/0.01159, allocations: 267 kB / 0.8236 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01159, allocations: 0 / 0.8236 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002138/0.01181, allocations: 67.98 kB / 0.8237 GB, free: 5.891 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 8.613e-05/0.01189, allocations: 112.9 kB / 0.8238 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.01225, allocations: 413.8 kB / 0.8242 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01225, allocations: 0 / 0.8242 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.01234, allocations: 81.95 kB / 0.8243 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.01256, allocations: 50.94 kB / 0.8243 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.01318, allocations: 482.8 kB / 0.8248 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.055e-05/0.01323, allocations: 83.81 kB / 0.8248 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.01326, allocations: 17.14 kB / 0.8249 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.01343, allocations: 146.2 kB / 0.825 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01343, allocations: 0 / 0.825 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.006284/0.01972, allocations: 5.506 MB / 0.8304 GB, free: 14.89 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.123141436837614]