Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001961/0.001961, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002518/0.002518, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.485/1.485, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7646 GB, free: 9.863 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 63.89 kB / 1.109 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.85/0.8521, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00283/0.855, allocations: 1.53 MB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.8564, allocations: 0.5423 MB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/0.8564, allocations: 4 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.8566, allocations: 11.86 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.8567, allocations: 23.86 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.8576, allocations: 319.3 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006149/0.8582, allocations: 487.5 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.8582, allocations: 7.984 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.8588, allocations: 287.5 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.8591, allocations: 143.5 kB / 1.278 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.602e-05/0.8591, allocations: 28 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.8592, allocations: 27.94 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.8594, allocations: 115.7 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.8596, allocations: 187 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.8601, allocations: 428.8 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8601, allocations: 4 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8601, allocations: 4 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.8601, allocations: 0 / 1.278 GB, free: 108 kB / 0.9669 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.001416/0.8615, allocations: 0.7991 MB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.8616, allocations: 8.031 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.8617, allocations: 52.7 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.8622, allocations: 260.6 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/0.8622, allocations: 16.36 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/0.8623, allocations: 36.36 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/0.8633, allocations: 208.4 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8633, allocations: 192 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.8633, allocations: 7.922 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.8633, allocations: 0 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.8641, allocations: 103.9 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.8645, allocations: 364.3 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.8656, allocations: 164 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.8663, allocations: 112.8 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.8663, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009279/0.8673, allocations: 223.1 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.8673, allocations: 4 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002549/0.8698, allocations: 492.9 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.8699, allocations: 59.41 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.8704, allocations: 409.9 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.8705, allocations: 41.7 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/0.8706, allocations: 89.44 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.8707, allocations: 47.67 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.8709, allocations: 125.5 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.871, allocations: 326.8 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.8713, allocations: 115.9 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.8716, allocations: 172.1 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.8721, allocations: 287.6 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8721, allocations: 0 / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009008/0.873, allocations: 488.7 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.8731, allocations: 91.5 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.8731, allocations: 7.938 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.8731, allocations: 0 / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.8733, allocations: 31.91 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.8733, allocations: 4 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.8738, allocations: 59.78 kB / 1.283 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.025e-05/0.8739, allocations: 55.98 kB / 1.283 GB, free: 10.63 MB / 0.9825 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.000337/0.8742, allocations: 203.7 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.8743, allocations: 43.69 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.993e-05/0.8744, allocations: 35.69 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.8744, allocations: 4 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8744, allocations: 0 / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8744, allocations: 0 / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.8766, allocations: 0.7262 MB / 1.284 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8766, allocations: 0 / 1.284 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.8766, allocations: 4 kB / 1.284 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8766, allocations: 0 / 1.284 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.8767, allocations: 23.97 kB / 1.284 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8767, allocations: 0 / 1.284 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8767, allocations: 4 kB / 1.284 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.8784, allocations: 479.4 kB / 1.285 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.8788, allocations: 129.5 kB / 1.285 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/0.8788, allocations: 19.98 kB / 1.285 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.8793, allocations: 27.97 kB / 1.285 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.8793, allocations: 11.98 kB / 1.285 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.779e-05/0.8794, allocations: 59.97 kB / 1.285 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003644/0.8798, allocations: 295.1 kB / 1.285 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8798, allocations: 0 / 1.285 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003969/0.8802, allocations: 64 kB / 1.285 GB, free: 8.461 MB / 0.9825 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.0001873/0.8804, allocations: 115.2 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.8817, allocations: 411.5 kB / 1.286 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8817, allocations: 3.938 kB / 1.286 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007577/0.8825, allocations: 120.2 kB / 1.286 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.8829, allocations: 29.5 kB / 1.286 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.8845, allocations: 0.5473 MB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.8851, allocations: 0.7708 MB / 1.287 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.561e-05/0.8852, allocations: 17.08 kB / 1.287 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.8852, allocations: 15.42 kB / 1.287 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of SimCode: time 1.002e-06/0.8852, allocations: 0 / 1.287 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of Templates: time 0.01116/0.8964, allocations: 5.025 MB / 1.292 GB, free: 1.234 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.76763961929828]