Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001406/0.001406, allocations: 80.39 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.001642/0.001642, allocations: 171.1 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.9931/0.9931, allocations: 177.2 MB / 205.3 MB, free: 5.508 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.887/1.887, allocations: 377.9 MB / 0.6247 GB, free: 8.41 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 0.8127 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.981e-05/4.22e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00361/0.003653, allocations: 1.557 MB / 0.8143 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.005137, allocations: 0.536 MB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.005231, allocations: 0 / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.005361, allocations: 8.906 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.005514, allocations: 31.84 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.006522, allocations: 317.7 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006014/0.007123, allocations: 487.4 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.007176, allocations: 4 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.007718, allocations: 351.6 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.008038, allocations: 129.3 kB / 0.8161 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.008142, allocations: 28 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.37e-05/0.008206, allocations: 29.06 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.008342, allocations: 123.6 kB / 0.8162 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.008499, allocations: 123.7 kB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.008959, allocations: 384.4 kB / 0.8167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.008964, allocations: 0 / 0.8167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.008965, allocations: 0 / 0.8167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.008973, allocations: 0 / 0.8167 GB, free: 13.4 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.0013/0.01027, allocations: 0.913 MB / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.01031, allocations: 8.031 kB / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.01047, allocations: 60.66 kB / 0.8177 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.01081, allocations: 258.8 kB / 0.8179 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.01086, allocations: 16.31 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.01094, allocations: 28.36 kB / 0.818 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.01142, allocations: 202.1 kB / 0.8181 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.01143, allocations: 1.938 kB / 0.8181 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.01146, allocations: 8.359 kB / 0.8182 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.01147, allocations: 384 / 0.8182 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.0116, allocations: 51.88 kB / 0.8182 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.01199, allocations: 251.7 kB / 0.8184 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.01225, allocations: 112.7 kB / 0.8186 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.01238, allocations: 65.03 kB / 0.8186 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.0124, allocations: 4 kB / 0.8186 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.01268, allocations: 180.6 kB / 0.8188 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.01268, allocations: 0.625 kB / 0.8188 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0007576/0.01344, allocations: 359.2 kB / 0.8191 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.01349, allocations: 63.34 kB / 0.8192 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.01385, allocations: 418.5 kB / 0.8196 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.0139, allocations: 41.69 kB / 0.8196 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.01399, allocations: 144.1 kB / 0.8198 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.01404, allocations: 43.7 kB / 0.8198 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.01423, allocations: 131.1 kB / 0.8199 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.01438, allocations: 0.5 MB / 0.8204 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.01464, allocations: 163.3 kB / 0.8206 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.0149, allocations: 225.1 kB / 0.8208 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.0152, allocations: 263.4 kB / 0.821 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.0152, allocations: 0 / 0.821 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007715/0.01598, allocations: 0.5274 MB / 0.8216 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.01605, allocations: 83.38 kB / 0.8216 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.01606, allocations: 4 kB / 0.8216 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.01608, allocations: 8.125 kB / 0.8217 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.01625, allocations: 31.97 kB / 0.8217 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.01626, allocations: 7.984 kB / 0.8217 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.01654, allocations: 55.73 kB / 0.8217 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.01663, allocations: 59.92 kB / 0.8218 GB, free: 7.859 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.0001725/0.01681, allocations: 182.5 kB / 0.822 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.01689, allocations: 47.77 kB / 0.822 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.01695, allocations: 35.67 kB / 0.8221 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01695, allocations: 4 kB / 0.8221 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01696, allocations: 0 / 0.8221 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01696, allocations: 0 / 0.8221 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.01787, allocations: 0.6151 MB / 0.8227 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01787, allocations: 0 / 0.8227 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.01792, allocations: 4 kB / 0.8227 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01792, allocations: 4 kB / 0.8227 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.01796, allocations: 19.97 kB / 0.8227 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01796, allocations: 7.938 kB / 0.8227 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.01796, allocations: 3.938 kB / 0.8227 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.01853, allocations: 453.4 kB / 0.8231 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.01876, allocations: 121.5 kB / 0.8232 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.01883, allocations: 15.98 kB / 0.8233 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.01908, allocations: 15.98 kB / 0.8233 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.01912, allocations: 11.92 kB / 0.8233 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7e-05/0.01919, allocations: 67.97 kB / 0.8234 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001976/0.01938, allocations: 255 kB / 0.8236 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.11e-07/0.01939, allocations: 0 / 0.8236 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004005/0.01979, 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 0.0001599/0.01995, allocations: 120.9 kB / 0.8238 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005787/0.02052, allocations: 407.3 kB / 0.8242 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02053, allocations: 8 kB / 0.8242 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.02068, allocations: 83.53 kB / 0.8243 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.02109, allocations: 49.55 kB / 0.8243 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/0.02203, allocations: 475 kB / 0.8248 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.732e-05/0.0221, allocations: 87.8 kB / 0.8248 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.354e-05/0.02215, allocations: 13.16 kB / 0.8249 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.02239, allocations: 138.2 kB / 0.825 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.0224, allocations: 4 kB / 0.825 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.008339/0.03073, allocations: 5.512 MB / 0.8304 GB, free: 14.89 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.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.2267756909132]