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.001355/0.001355, allocations: 84.67 kB / 19.76 MB, free: 2.023 MB / 14.72 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.001439/0.001439, allocations: 160.4 kB / 23.01 MB, free: 4.965 MB / 14.72 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.473/1.473, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.747/2.747, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 67.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9583/0.9606, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00276/0.9633, allocations: 1.52 MB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.9645, allocations: 0.5167 MB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.9645, allocations: 2.875 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.777e-05/0.9646, allocations: 10.97 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.9647, allocations: 34.33 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.9656, allocations: 315.5 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.9661, allocations: 487.5 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.9662, allocations: 2.812 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004352/0.9666, allocations: 283.7 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.967, allocations: 136.2 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.9671, allocations: 31.88 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.9672, allocations: 25.38 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.9673, allocations: 115.8 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.9675, allocations: 157.1 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.9679, allocations: 428.2 kB / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9679, allocations: 0 / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9679, allocations: 0 / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.9679, allocations: 0 / 1.158 GB, free: 31.12 MB / 1.076 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.001215/0.9691, allocations: 0.8076 MB / 1.159 GB, free: 30.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9692, allocations: 8.406 kB / 1.159 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.9693, allocations: 59.53 kB / 1.159 GB, free: 30.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.9697, allocations: 261.1 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.9697, allocations: 19.25 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/0.9698, allocations: 26.84 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.9707, allocations: 225.8 kB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9707, allocations: 3.609 kB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.9708, allocations: 11.16 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.9708, allocations: 4 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.9715, allocations: 111.1 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.9718, allocations: 285.8 kB / 1.16 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009863/0.9728, allocations: 185 kB / 1.16 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007023/0.9735, allocations: 115 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.9735, allocations: 2.562 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000892/0.9744, allocations: 240.4 kB / 1.16 GB, free: 29.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.9744, allocations: 3.938 kB / 1.16 GB, free: 29.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002513/0.9769, allocations: 0.5195 MB / 1.161 GB, free: 29.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.977, allocations: 62.41 kB / 1.161 GB, free: 29.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/0.9774, allocations: 418.6 kB / 1.161 GB, free: 29.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.9775, allocations: 41.83 kB / 1.161 GB, free: 29.37 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.9776, allocations: 93.94 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.9776, allocations: 36.64 kB / 1.161 GB, free: 29.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.9779, allocations: 131 kB / 1.161 GB, free: 29.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.978, allocations: 320.8 kB / 1.162 GB, free: 28.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.9783, allocations: 195.2 kB / 1.162 GB, free: 28.78 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.9786, allocations: 250.2 kB / 1.162 GB, free: 28.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.979, allocations: 275.9 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.979, allocations: 2.219 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000854/0.9798, allocations: 0.5556 MB / 1.163 GB, free: 28.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.888e-05/0.9799, allocations: 84.94 kB / 1.163 GB, free: 28.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.9799, allocations: 2.688 kB / 1.163 GB, free: 28.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.9799, allocations: 6.531 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.9801, allocations: 21.92 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.9801, allocations: 9.875 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.9806, allocations: 65.02 kB / 1.163 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.9807, allocations: 59.11 kB / 1.163 GB, free: 28.04 MB / 1.076 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.0001959/0.9809, allocations: 195.6 kB / 1.163 GB, free: 27.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.981, allocations: 39.59 kB / 1.163 GB, free: 27.87 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.981, allocations: 44.7 kB / 1.163 GB, free: 27.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.981, allocations: 7.922 kB / 1.163 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.981, allocations: 0 / 1.163 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.981, allocations: 2.531 kB / 1.163 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.9831, allocations: 0.7104 MB / 1.164 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.9831, allocations: 3.938 kB / 1.164 GB, free: 27.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.9832, allocations: 9.406 kB / 1.164 GB, free: 27.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9832, allocations: 3.469 kB / 1.164 GB, free: 27.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.9832, allocations: 24.78 kB / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9832, allocations: 0 / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9832, allocations: 0 / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.9848, allocations: 0.5062 MB / 1.165 GB, free: 27.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.9851, allocations: 129.9 kB / 1.165 GB, free: 27.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.9851, allocations: 12.58 kB / 1.165 GB, free: 27.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.9856, allocations: 40.7 kB / 1.165 GB, free: 27.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.9856, allocations: 10.14 kB / 1.165 GB, free: 27.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.9857, allocations: 66.27 kB / 1.165 GB, free: 27.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002345/0.9859, allocations: 294.8 kB / 1.165 GB, free: 27.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9859, allocations: 0 / 1.165 GB, free: 27.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000381/0.9863, allocations: 65.17 kB / 1.165 GB, free: 27.09 MB / 1.076 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.0001211/0.9864, allocations: 126.8 kB / 1.165 GB, free: 26.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.9876, allocations: 487.3 kB / 1.166 GB, free: 26.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9876, allocations: 0 / 1.166 GB, free: 26.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007042/0.9883, allocations: 122.7 kB / 1.166 GB, free: 26.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.9888, allocations: 32.31 kB / 1.166 GB, free: 26.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.9901, allocations: 0.5675 MB / 1.167 GB, free: 26.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.9902, allocations: 174.9 kB / 1.167 GB, free: 26.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.712e-05/0.9903, allocations: 16.41 kB / 1.167 GB, free: 26.29 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.9903, allocations: 17.03 kB / 1.167 GB, free: 26.27 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.9903, allocations: 0 / 1.167 GB, free: 26.27 MB / 1.076 GB Notification: Performance of Templates: time 0.0114/1.002, allocations: 6.047 MB / 1.173 GB, free: 25.05 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] 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/jenkins1/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.756383063970134]