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.001372/0.001372, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001443/0.001443, allocations: 202.5 kB / 22.18 MB, free: 5.211 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.44/1.44, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.762/2.762, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.002055/0.002055, allocations: 72.06 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7973/0.7993, allocations: 168.7 MB / 1.274 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002868/0.8022, allocations: 1.542 MB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.8035, allocations: 0.5439 MB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.8036, allocations: 4 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.8036, allocations: 7.875 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.8038, allocations: 31.78 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.8046, allocations: 311.4 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005975/0.8052, allocations: 479.4 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.8052, allocations: 4 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004149/0.8056, allocations: 279.6 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.8059, allocations: 151.4 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.663e-05/0.806, allocations: 24 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.336e-05/0.8061, allocations: 28 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.8062, allocations: 119.7 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.8064, allocations: 187 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.8069, allocations: 421.1 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8069, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8069, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.8069, allocations: 0 / 1.278 GB, free: 336 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.001392/0.8083, allocations: 0.8782 MB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.8083, allocations: 12.03 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.8085, allocations: 56.64 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.809, allocations: 314.5 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.809, allocations: 16.36 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.821e-05/0.8091, allocations: 32.38 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.8102, allocations: 212.2 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.8102, allocations: 192 / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.8102, allocations: 3.938 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.8102, allocations: 8 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/0.8111, allocations: 107.8 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.8116, allocations: 381.3 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.8128, allocations: 170.4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008335/0.8136, allocations: 104.8 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.8137, allocations: 0 / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.8147, allocations: 235 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.8147, allocations: 0 / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.00286/0.8176, allocations: 489 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.8176, allocations: 63.39 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.8181, allocations: 405.9 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/0.8182, allocations: 45.69 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.8183, allocations: 91 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.8183, allocations: 43.7 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.8186, allocations: 129.5 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.8187, allocations: 318.8 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.819, allocations: 115.9 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.8193, allocations: 171.5 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.8198, allocations: 283.2 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8198, allocations: 7.984 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009275/0.8207, allocations: 496.7 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.8208, allocations: 91.25 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.8208, allocations: 4 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.8208, allocations: 4 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.821, allocations: 19.98 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.821, allocations: 7.938 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.8215, allocations: 67.95 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.936e-05/0.8216, allocations: 59.98 kB / 1.283 GB, free: 10.64 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.0002443/0.8219, allocations: 184 kB / 1.283 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.822, allocations: 43.7 kB / 1.283 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.822, allocations: 39.73 kB / 1.283 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.822, allocations: 4 kB / 1.283 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.822, allocations: 0 / 1.283 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.822, allocations: 4 kB / 1.283 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.8245, allocations: 0.7467 MB / 1.284 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.8245, allocations: 0 / 1.284 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.8245, allocations: 7.984 kB / 1.284 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.8245, allocations: 4 kB / 1.284 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.8246, allocations: 23.92 kB / 1.284 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.8246, allocations: 3.984 kB / 1.284 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8246, allocations: 0 / 1.284 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.8265, allocations: 475.4 kB / 1.285 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.8268, allocations: 200.7 kB / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/0.8269, allocations: 15.98 kB / 1.285 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.8274, allocations: 31.97 kB / 1.285 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.8275, allocations: 7.984 kB / 1.285 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.8275, allocations: 59.97 kB / 1.285 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003453/0.8279, allocations: 299.1 kB / 1.285 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8279, allocations: 0 / 1.285 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004163/0.8283, allocations: 60 kB / 1.285 GB, free: 8.367 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.0001799/0.8285, allocations: 135.6 kB / 1.285 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.8299, allocations: 406.5 kB / 1.286 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8299, allocations: 0 / 1.286 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008395/0.8307, allocations: 109.5 kB / 1.286 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.8311, allocations: 29.48 kB / 1.286 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.8327, allocations: 0.5515 MB / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.8332, allocations: 0.7786 MB / 1.287 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.639e-05/0.8333, allocations: 17.02 kB / 1.287 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.8333, allocations: 15.42 kB / 1.287 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.8333, allocations: 0 / 1.287 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of Templates: time 0.01041/0.8437, allocations: 4.991 MB / 1.292 GB, free: 1.156 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.717747221700847]