Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 64.08 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9803/0.9823, allocations: 173.6 MB / 1.305 GB, free: 33.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002219/0.9845, allocations: 1.533 MB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.9856, allocations: 0.5444 MB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.9856, allocations: 0 / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.093e-05/0.9857, allocations: 7.266 kB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.9858, allocations: 30.89 kB / 1.307 GB, free: 32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.9865, allocations: 315.8 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.987, allocations: 489.3 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.987, allocations: 2.969 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.9873, allocations: 272.2 kB / 1.308 GB, free: 31.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.9875, allocations: 156.9 kB / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.816e-05/0.9876, allocations: 32.31 kB / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.9876, allocations: 26.09 kB / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.9877, allocations: 112.8 kB / 1.309 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.9879, allocations: 188.1 kB / 1.309 GB, free: 31.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.9882, allocations: 425 kB / 1.309 GB, free: 31.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9883, allocations: 0 / 1.309 GB, free: 31.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9883, allocations: 0 / 1.309 GB, free: 31.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.9883, allocations: 0 / 1.309 GB, free: 31.22 MB / 1.061 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.001058/0.9893, allocations: 0.8709 MB / 1.31 GB, free: 30.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.9894, allocations: 10.09 kB / 1.31 GB, free: 30.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.9895, allocations: 53.97 kB / 1.31 GB, free: 30.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.9898, allocations: 318.5 kB / 1.311 GB, free: 30.17 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.9898, allocations: 22.92 kB / 1.311 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.9899, allocations: 26.7 kB / 1.311 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008534/0.9907, allocations: 205.5 kB / 1.311 GB, free: 30.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9907, allocations: 192 / 1.311 GB, free: 30.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.9908, allocations: 14.25 kB / 1.311 GB, free: 30.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.9908, allocations: 0 / 1.311 GB, free: 30.1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.9914, allocations: 105.1 kB / 1.311 GB, free: 30.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.9918, allocations: 386.7 kB / 1.311 GB, free: 29.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008971/0.9927, allocations: 173 kB / 1.311 GB, free: 29.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006286/0.9933, allocations: 98.11 kB / 1.312 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.9933, allocations: 2.969 kB / 1.312 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000815/0.9941, allocations: 228.6 kB / 1.312 GB, free: 29.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.9941, allocations: 3.938 kB / 1.312 GB, free: 29.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002207/0.9963, allocations: 492.4 kB / 1.312 GB, free: 29.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.9964, allocations: 67.81 kB / 1.312 GB, free: 29.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.9967, allocations: 409.6 kB / 1.313 GB, free: 29.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.9967, allocations: 41.48 kB / 1.313 GB, free: 29.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.9968, allocations: 94.45 kB / 1.313 GB, free: 29.15 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.9968, allocations: 36.78 kB / 1.313 GB, free: 29.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.997, allocations: 131.8 kB / 1.313 GB, free: 29.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.997, allocations: 320.8 kB / 1.313 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.9972, allocations: 114.2 kB / 1.313 GB, free: 28.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.9974, allocations: 169.9 kB / 1.314 GB, free: 28.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.9977, allocations: 277.2 kB / 1.314 GB, free: 28.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9977, allocations: 0 / 1.314 GB, free: 28.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006566/0.9984, allocations: 0.492 MB / 1.314 GB, free: 28.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.9984, allocations: 88.95 kB / 1.314 GB, free: 28.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9984, allocations: 6.125 kB / 1.314 GB, free: 28.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.9985, allocations: 6.656 kB / 1.314 GB, free: 28.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.9986, allocations: 20.92 kB / 1.314 GB, free: 28.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.9986, allocations: 5.031 kB / 1.314 GB, free: 28.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.9991, allocations: 65.73 kB / 1.315 GB, free: 28.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.9991, allocations: 63.47 kB / 1.315 GB, free: 28.09 MB / 1.061 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.0001669/0.9993, allocations: 194 kB / 1.315 GB, free: 27.95 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.9993, allocations: 40.7 kB / 1.315 GB, free: 27.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.9994, allocations: 43.69 kB / 1.315 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.9994, allocations: 3.062 kB / 1.315 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9994, allocations: 0 / 1.315 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.9994, allocations: 0 / 1.315 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/1.001, allocations: 0.7468 MB / 1.316 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.001, allocations: 4 kB / 1.316 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/1.001, allocations: 7.484 kB / 1.316 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.001, allocations: 0 / 1.316 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/1.001, allocations: 23.11 kB / 1.316 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.001, allocations: 2.062 kB / 1.316 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.001, allocations: 0 / 1.316 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/1.003, allocations: 484 kB / 1.316 GB, free: 27.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/1.003, allocations: 203.1 kB / 1.316 GB, free: 27.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/1.003, allocations: 9.25 kB / 1.316 GB, free: 27.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/1.004, allocations: 30.98 kB / 1.316 GB, free: 27.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/1.004, allocations: 12.62 kB / 1.316 GB, free: 27.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/1.004, allocations: 54.11 kB / 1.316 GB, free: 27.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002359/1.004, allocations: 296.1 kB / 1.317 GB, free: 27 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.004, allocations: 4 kB / 1.317 GB, free: 27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003617/1.004, allocations: 68.94 kB / 1.317 GB, free: 26.99 MB / 1.061 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.0001349/1.004, allocations: 114 kB / 1.317 GB, free: 26.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001062/1.005, allocations: 408.1 kB / 1.317 GB, free: 26.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.005, allocations: 4.125 kB / 1.317 GB, free: 26.69 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006515/1.006, allocations: 107.4 kB / 1.317 GB, free: 26.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/1.006, allocations: 34.56 kB / 1.317 GB, free: 26.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/1.008, allocations: 0.5587 MB / 1.318 GB, free: 26.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/1.008, allocations: 0.7688 MB / 1.319 GB, free: 25.65 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.282e-05/1.008, allocations: 12.16 kB / 1.319 GB, free: 25.65 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/1.008, allocations: 22.89 kB / 1.319 GB, free: 25.64 MB / 1.061 GB Notification: Performance of SimCode: time 6.92e-07/1.008, allocations: 0 / 1.319 GB, free: 25.64 MB / 1.061 GB Notification: Performance of Templates: time 0.009571/1.018, allocations: 4.998 MB / 1.324 GB, free: 24.79 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.156210962682962]