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.00167/0.00167, allocations: 113.8 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.001867/0.001867, 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.458/1.458, 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 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001989/0.001989, allocations: 59.91 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002912/1.09, allocations: 1.54 MB / 1.273 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001503/1.091, allocations: 0.5385 MB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/1.091, allocations: 0 / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/1.091, allocations: 9.672 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/1.091, allocations: 32.66 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/1.092, allocations: 310.4 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006179/1.093, allocations: 490.9 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/1.093, allocations: 4.047 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/1.093, allocations: 270.8 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/1.094, allocations: 150.4 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/1.094, allocations: 26.88 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/1.094, allocations: 26.91 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/1.094, allocations: 110.2 kB / 1.275 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/1.094, allocations: 184.9 kB / 1.276 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005815/1.095, allocations: 437.2 kB / 1.276 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/1.095, allocations: 0 / 1.276 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.695e-06/1.095, allocations: 1.125 kB / 1.276 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.095, allocations: 0 / 1.276 GB, free: 5.715 MB / 0.9981 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.001331/1.096, allocations: 0.8674 MB / 1.277 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.096, allocations: 9.281 kB / 1.277 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/1.096, allocations: 52.67 kB / 1.277 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/1.097, allocations: 317.3 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/1.097, allocations: 20.45 kB / 1.277 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.356e-05/1.097, allocations: 29.33 kB / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/1.098, allocations: 215.7 kB / 1.277 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.098, allocations: 3.188 kB / 1.277 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/1.098, allocations: 4.938 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.098, allocations: 1.188 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/1.099, allocations: 104.1 kB / 1.278 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/1.099, allocations: 379.2 kB / 1.278 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/1.1, allocations: 169.2 kB / 1.278 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/1.101, allocations: 102.5 kB / 1.278 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/1.101, allocations: 2.484 kB / 1.278 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/1.102, allocations: 232.2 kB / 1.278 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/1.102, allocations: 0 / 1.278 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002602/1.104, allocations: 497.4 kB / 1.279 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.104, allocations: 62.66 kB / 1.279 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/1.105, allocations: 414.2 kB / 1.279 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-05/1.105, allocations: 40.78 kB / 1.279 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/1.105, allocations: 94.28 kB / 1.279 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/1.105, allocations: 34.56 kB / 1.279 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/1.105, allocations: 131.5 kB / 1.28 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.836e-05/1.105, allocations: 320.6 kB / 1.28 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/1.106, allocations: 124.1 kB / 1.28 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/1.106, allocations: 171.1 kB / 1.28 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/1.106, allocations: 282.8 kB / 1.28 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.106, allocations: 0 / 1.28 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008385/1.107, allocations: 494.6 kB / 1.281 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.663e-05/1.107, allocations: 94.66 kB / 1.281 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.107, allocations: 0 / 1.281 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.107, allocations: 3.312 kB / 1.281 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/1.108, allocations: 22.81 kB / 1.281 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.108, allocations: 3.297 kB / 1.281 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/1.108, allocations: 64.84 kB / 1.281 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.741e-05/1.108, allocations: 69.42 kB / 1.281 GB, free: 2.586 MB / 0.9981 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.0002503/1.108, allocations: 190.3 kB / 1.281 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/1.108, allocations: 41.59 kB / 1.281 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.936e-05/1.109, allocations: 42.23 kB / 1.281 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.109, allocations: 0.7031 kB / 1.281 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.109, allocations: 0 / 1.281 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.109, allocations: 3.359 kB / 1.281 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/1.111, allocations: 0.7441 MB / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.111, allocations: 0 / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/1.111, allocations: 4.719 kB / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.111, allocations: 0 / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/1.111, allocations: 28.23 kB / 1.282 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.111, allocations: 0 / 1.282 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.111, allocations: 0 / 1.282 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/1.112, allocations: 479.2 kB / 1.283 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/1.113, allocations: 204.7 kB / 1.283 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/1.113, allocations: 10.45 kB / 1.283 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/1.113, allocations: 28.08 kB / 1.283 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/1.113, allocations: 11.58 kB / 1.283 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-05/1.113, allocations: 61.23 kB / 1.283 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003187/1.114, allocations: 293.8 kB / 1.283 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.114, allocations: 7.875 kB / 1.283 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004948/1.114, allocations: 69.25 kB / 1.283 GB, free: 1.488 MB / 0.9981 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.00015/1.114, allocations: 123.4 kB / 1.283 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001325/1.115, allocations: 408.1 kB / 1.284 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.115, allocations: 4.375 kB / 1.284 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007379/1.116, allocations: 107.4 kB / 1.284 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/1.117, allocations: 30.84 kB / 1.284 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/1.118, allocations: 0.5659 MB / 1.284 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/1.119, allocations: 0.7713 MB / 1.285 GB, free: 140 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.093e-05/1.119, allocations: 15.75 kB / 1.285 GB, free: 132 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/1.119, allocations: 16.36 kB / 1.285 GB, free: 124 kB / 0.9981 GB Notification: Performance of SimCode: time 1.322e-06/1.119, allocations: 0 / 1.285 GB, free: 124 kB / 0.9981 GB Notification: Performance of Templates: time 0.0131/1.132, allocations: 4.998 MB / 1.29 GB, free: 15.28 MB / 1.014 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: 9.275644971989095]