Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001686/0.001686, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001983/0.001983, allocations: 160.7 kB / 23.01 MB, free: 4.594 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.984 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.803/2.803, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [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.002513/0.002513, allocations: 67.89 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9131/0.9156, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002294/0.9179, allocations: 1.523 MB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.919, allocations: 0.5277 MB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.919, allocations: 0 / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.2e-05/0.9191, allocations: 7.875 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.9192, allocations: 35.86 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.9199, allocations: 314.5 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.9203, allocations: 487.2 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.9203, allocations: 2.781 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.9206, allocations: 279.8 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.9208, allocations: 142 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.312e-05/0.9209, allocations: 26.56 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.949e-05/0.921, allocations: 29.5 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.9211, allocations: 110.7 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.9213, allocations: 163 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.9216, allocations: 425.4 kB / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9216, allocations: 2.812 kB / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9216, allocations: 0 / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.9216, 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.0009913/0.9226, allocations: 0.798 MB / 1.159 GB, free: 30.47 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.9226, allocations: 8.875 kB / 1.159 GB, free: 30.47 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.9227, allocations: 55.3 kB / 1.159 GB, free: 30.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.923, allocations: 260.7 kB / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.9231, allocations: 22.66 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.9232, allocations: 26.34 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009218/0.9241, allocations: 237 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.9241, allocations: 192 / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.9241, allocations: 6.938 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.9241, allocations: 0 / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/0.925, allocations: 120.2 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.9253, allocations: 278.6 kB / 1.16 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.9263, allocations: 179 kB / 1.16 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.9271, allocations: 122.1 kB / 1.16 GB, free: 29.89 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.9271, allocations: 3.938 kB / 1.16 GB, free: 29.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009382/0.928, allocations: 237.8 kB / 1.16 GB, free: 29.81 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 2.465e-06/0.928, allocations: 0 / 1.16 GB, free: 29.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002545/0.9306, allocations: 0.5189 MB / 1.161 GB, free: 29.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.9306, allocations: 65.42 kB / 1.161 GB, free: 29.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.931, allocations: 419.5 kB / 1.161 GB, free: 29.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.931, allocations: 40.98 kB / 1.161 GB, free: 29.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.9311, allocations: 94.58 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.9311, allocations: 47.31 kB / 1.161 GB, free: 29.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.9313, allocations: 129.5 kB / 1.161 GB, free: 29.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.9313, allocations: 321.2 kB / 1.162 GB, free: 28.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.9316, allocations: 190.8 kB / 1.162 GB, free: 28.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.9318, allocations: 252.6 kB / 1.162 GB, free: 28.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.9321, allocations: 277.3 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9321, allocations: 2.844 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006917/0.9328, allocations: 0.563 MB / 1.163 GB, free: 28.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.968e-05/0.9329, allocations: 83.23 kB / 1.163 GB, free: 28.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9329, allocations: 2.719 kB / 1.163 GB, free: 28.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9329, allocations: 6.625 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.9331, allocations: 24.81 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.9331, allocations: 2.781 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.9335, allocations: 67.5 kB / 1.163 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/0.9336, allocations: 64.45 kB / 1.163 GB, free: 28.03 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.0001789/0.9338, allocations: 190.5 kB / 1.163 GB, free: 27.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.9338, allocations: 41.91 kB / 1.163 GB, free: 27.87 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/0.9339, allocations: 51.38 kB / 1.163 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.9339, allocations: 3.984 kB / 1.163 GB, free: 27.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9339, allocations: 2.625 kB / 1.163 GB, free: 27.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9339, allocations: 0 / 1.163 GB, free: 27.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.936, allocations: 0.7107 MB / 1.164 GB, free: 27.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.936, allocations: 3.938 kB / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.936, allocations: 5.953 kB / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.936, allocations: 2.625 kB / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.9361, allocations: 19.78 kB / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.9361, allocations: 0 / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9361, allocations: 0 / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.9378, allocations: 0.5053 MB / 1.165 GB, free: 27.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.938, allocations: 134.4 kB / 1.165 GB, free: 27.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.9381, allocations: 9.781 kB / 1.165 GB, free: 27.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/0.9386, allocations: 38.81 kB / 1.165 GB, free: 27.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.9386, allocations: 13.19 kB / 1.165 GB, free: 27.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.9387, allocations: 57.72 kB / 1.165 GB, free: 27.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000225/0.9389, allocations: 293.2 kB / 1.165 GB, free: 27.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9389, allocations: 4 kB / 1.165 GB, free: 27.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003659/0.9393, allocations: 67.7 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.000138/0.9394, allocations: 120.6 kB / 1.165 GB, free: 26.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.9406, allocations: 490 kB / 1.166 GB, free: 26.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9406, allocations: 4.062 kB / 1.166 GB, free: 26.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007465/0.9414, allocations: 116.8 kB / 1.166 GB, free: 26.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.9418, allocations: 32.77 kB / 1.166 GB, free: 26.69 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.9432, allocations: 0.571 MB / 1.167 GB, free: 26.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.9433, allocations: 178.7 kB / 1.167 GB, free: 26.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.707e-05/0.9434, allocations: 13.62 kB / 1.167 GB, free: 26.29 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.9434, allocations: 16.38 kB / 1.167 GB, free: 26.28 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/0.9434, allocations: 0 / 1.167 GB, free: 26.28 MB / 1.076 GB Notification: Performance of Templates: time 0.01001/0.9534, allocations: 6.042 MB / 1.173 GB, free: 25.05 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.829995849053375]