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.00183/0.00183, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002338/0.002338, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.521/1.521, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.062/3.062, allocations: 377.8 MB / 0.6232 GB, free: 8.555 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.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 1.694e-06/1.694e-06, allocations: 0 / 0.8108 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.993e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.004242/0.004272, allocations: 1.541 MB / 0.8123 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.006266, allocations: 0.5321 MB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.006324, allocations: 0 / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.006438, allocations: 7.922 kB / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.006586, allocations: 28.62 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.007793, allocations: 321.2 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008724/0.008665, allocations: 483.4 kB / 0.8136 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.008715, allocations: 8 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008214/0.009536, allocations: 360.9 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.009992, allocations: 125.4 kB / 0.8141 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.01017, allocations: 24.69 kB / 0.8141 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.01034, allocations: 28 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.01054, allocations: 116.6 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.01083, allocations: 135.7 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008518/0.01169, allocations: 455.4 kB / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01169, allocations: 0 / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01169, allocations: 2.156 kB / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.0117, allocations: 4 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.002076/0.01377, allocations: 0.9219 MB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.01382, allocations: 8.031 kB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.01406, allocations: 64.62 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.01476, allocations: 255.7 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/0.01483, allocations: 24.36 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.01496, allocations: 25.39 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009778/0.01594, allocations: 198.7 kB / 0.8162 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.01595, allocations: 192 / 0.8162 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.01599, allocations: 13.02 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.016, allocations: 384 / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/0.01665, allocations: 85.08 kB / 0.8163 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.01739, allocations: 336.8 kB / 0.8167 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/0.01835, allocations: 152.3 kB / 0.8168 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.01899, allocations: 84.92 kB / 0.8169 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.01903, allocations: 4 kB / 0.8169 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008938/0.01992, allocations: 210.2 kB / 0.8171 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.01992, allocations: 5.5 kB / 0.8171 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.002506/0.02243, allocations: 442 kB / 0.8175 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.02252, allocations: 59.41 kB / 0.8176 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008828/0.0234, allocations: 468.5 kB / 0.818 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.94e-05/0.0235, allocations: 41.69 kB / 0.8181 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.02367, allocations: 148.1 kB / 0.8182 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.02376, allocations: 43.78 kB / 0.8182 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.02411, allocations: 136.2 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003657/0.02448, allocations: 0.4962 MB / 0.8189 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006052/0.02508, allocations: 211.3 kB / 0.8191 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000708/0.02579, allocations: 294.5 kB / 0.8193 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.02654, allocations: 308.1 kB / 0.8196 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.02655, allocations: 0.5312 kB / 0.8196 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001761/0.02831, allocations: 0.6279 MB / 0.8202 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.02845, allocations: 79.38 kB / 0.8203 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.02846, allocations: 4.844 kB / 0.8203 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.02848, allocations: 4 kB / 0.8203 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.0288, allocations: 40.75 kB / 0.8204 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.02882, allocations: 11.92 kB / 0.8204 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.02939, allocations: 41.27 kB / 0.8204 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.02954, allocations: 59.98 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.0003027/0.02984, allocations: 191 kB / 0.8207 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.02999, allocations: 48.38 kB / 0.8207 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.606e-05/0.03008, allocations: 33.5 kB / 0.8207 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.03009, allocations: 4 kB / 0.8207 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.0301, allocations: 0 / 0.8207 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.0301, allocations: 3.938 kB / 0.8207 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.03264, allocations: 0.7437 MB / 0.8215 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.03264, allocations: 0 / 0.8215 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.0327, allocations: 8 kB / 0.8215 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.03271, allocations: 4 kB / 0.8215 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/0.03277, allocations: 23.91 kB / 0.8215 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.03277, allocations: 0 / 0.8215 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.03278, allocations: 0 / 0.8215 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.03459, allocations: 0.4966 MB / 0.822 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.03503, allocations: 130.4 kB / 0.8221 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.03516, allocations: 15.94 kB / 0.8221 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.03559, allocations: 17.33 kB / 0.8221 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.03564, allocations: 11.98 kB / 0.8222 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.03576, allocations: 55.97 kB / 0.8222 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004803/0.03624, allocations: 295.6 kB / 0.8225 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.11e-07/0.03624, allocations: 0.875 kB / 0.8225 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006345/0.03688, allocations: 60 kB / 0.8225 GB, free: 5.695 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.0002257/0.0371, allocations: 116.3 kB / 0.8227 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.03894, allocations: 0.5949 MB / 0.8232 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.03895, allocations: 4 kB / 0.8232 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.03963, allocations: 106.2 kB / 0.8233 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.0006981/0.04033, allocations: 62.75 kB / 0.8234 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.04202, allocations: 0.4905 MB / 0.8239 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.0423, allocations: 163.6 kB / 0.824 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.181e-05/0.04238, allocations: 11.38 kB / 0.824 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.04246, allocations: 21.2 kB / 0.8241 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.04246, allocations: 0 / 0.8241 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of Templates: time 0.01671/0.05916, allocations: 5.89 MB / 0.8298 GB, free: 14.13 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.142305739922449]