Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001894/0.001894, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002251/0.002251, allocations: 191.2 kB / 22.23 MB, free: 5.137 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.462/1.462, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 67.88 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7684, allocations: 160.8 MB / 1.218 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003311/0.7717, allocations: 1.532 MB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.7733, allocations: 0.5555 MB / 1.22 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.596e-05/0.7734, allocations: 3.938 kB / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.7735, allocations: 8.625 kB / 1.22 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.7736, allocations: 27.33 kB / 1.221 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.7746, allocations: 324.7 kB / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.7753, allocations: 485.8 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.7754, allocations: 2.344 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.7759, allocations: 287 kB / 1.222 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.7763, allocations: 144.1 kB / 1.222 GB, free: 1.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.7764, allocations: 26.59 kB / 1.222 GB, free: 1.312 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.7765, allocations: 30.56 kB / 1.222 GB, free: 1.309 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.7767, allocations: 115.6 kB / 1.222 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.777, allocations: 187.2 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.7775, allocations: 429.1 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7775, allocations: 0 / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7775, allocations: 0 / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.136e-05/0.7776, allocations: 1.062 kB / 1.222 GB, free: 0.8438 MB / 0.92 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.001386/0.7789, allocations: 0.8695 MB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.779, allocations: 9.562 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.7791, allocations: 54.92 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.7796, allocations: 325.6 kB / 1.224 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.7796, allocations: 19.2 kB / 1.224 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.7797, allocations: 21.56 kB / 1.224 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009749/0.7807, allocations: 215 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.7807, allocations: 192 / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.7807, allocations: 5.094 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7807, allocations: 5.062 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007297/0.7814, allocations: 96.23 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.7819, allocations: 387.1 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.7829, allocations: 170.9 kB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/0.7837, allocations: 98.5 kB / 1.225 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.7837, allocations: 9.703 kB / 1.225 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009608/0.7847, allocations: 225.7 kB / 1.225 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.7847, allocations: 1.25 kB / 1.225 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002481/0.7871, allocations: 491.1 kB / 1.225 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.7872, allocations: 63.39 kB / 1.225 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/0.7876, allocations: 413.8 kB / 1.226 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.7877, allocations: 41.47 kB / 1.226 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.7878, allocations: 97.02 kB / 1.226 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.7878, allocations: 41.08 kB / 1.226 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.7881, allocations: 127.3 kB / 1.226 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7882, allocations: 322 kB / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.7885, allocations: 116 kB / 1.227 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.7888, allocations: 178.2 kB / 1.227 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.7892, allocations: 275.7 kB / 1.227 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7892, allocations: 1.312 kB / 1.227 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008281/0.79, allocations: 496.8 kB / 1.227 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-05/0.7901, allocations: 91.69 kB / 1.228 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7901, allocations: 2.344 kB / 1.228 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7902, allocations: 2.188 kB / 1.228 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.7903, allocations: 26.7 kB / 1.228 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7904, allocations: 3.375 kB / 1.228 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.7909, allocations: 65.64 kB / 1.228 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.755e-05/0.7909, allocations: 64.62 kB / 1.228 GB, free: 13.02 MB / 0.9356 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.0002585/0.7912, allocations: 189.4 kB / 1.228 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.7913, allocations: 41.23 kB / 1.228 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/0.7913, allocations: 44.55 kB / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.7913, allocations: 1.75 kB / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7913, allocations: 4 kB / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7914, allocations: 0 / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.7936, allocations: 0.7432 MB / 1.229 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.7936, allocations: 0 / 1.229 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.7936, allocations: 12.17 kB / 1.229 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.7936, allocations: 1.156 kB / 1.229 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.7937, allocations: 19.08 kB / 1.229 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7937, allocations: 1.094 kB / 1.229 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7937, allocations: 0 / 1.229 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.7954, allocations: 485.5 kB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.7957, allocations: 204.7 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.7958, allocations: 11.98 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.7962, allocations: 31.97 kB / 1.229 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.7963, allocations: 7.984 kB / 1.229 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/0.7964, allocations: 59.97 kB / 1.229 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003337/0.7967, allocations: 299.1 kB / 1.23 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7967, allocations: 0 / 1.23 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000399/0.7971, allocations: 64 kB / 1.23 GB, free: 11.2 MB / 0.9356 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.0001659/0.7973, allocations: 119.8 kB / 1.23 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.7985, allocations: 418.4 kB / 1.23 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7985, allocations: 0 / 1.23 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007197/0.7992, allocations: 107.9 kB / 1.23 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.7996, allocations: 33.52 kB / 1.23 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.8011, allocations: 0.5498 MB / 1.231 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.8016, allocations: 0.7747 MB / 1.232 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.271e-05/0.8016, allocations: 13.08 kB / 1.232 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.8017, allocations: 15.42 kB / 1.232 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.8017, allocations: 4 kB / 1.232 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of Templates: time 0.009881/0.8116, allocations: 5.017 MB / 1.237 GB, free: 3.977 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.668539333157241]