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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002504/0.002504, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.4/3.4, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003235/0.003235, allocations: 66.86 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3722, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002882/0.3751, allocations: 1.521 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3765, allocations: 0.5267 MB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.3765, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.3766, allocations: 15.86 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.3768, allocations: 23.64 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.3776, allocations: 320.2 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.3781, allocations: 487.4 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.3781, allocations: 4 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.3785, allocations: 275.6 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.3788, allocations: 131.7 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.3789, allocations: 28 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-05/0.379, allocations: 28 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.3791, allocations: 119.6 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.3793, allocations: 155.3 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.3797, allocations: 434.3 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3797, allocations: 3.938 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3797, allocations: 0 / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.3797, allocations: 7.938 kB / 1.368 GB, free: 9.559 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.001266/0.381, allocations: 0.795 MB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.381, allocations: 8.031 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.3811, allocations: 52.7 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.3816, allocations: 256.7 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.3816, allocations: 20.36 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.3817, allocations: 32.36 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/0.3826, allocations: 206 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3826, allocations: 192 / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.3826, allocations: 7.922 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3827, allocations: 3.938 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006945/0.3833, allocations: 99.92 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.3837, allocations: 277.1 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009721/0.3847, allocations: 170.6 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006704/0.3854, allocations: 104.8 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.3854, allocations: 4 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008879/0.3863, allocations: 219.1 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.3863, allocations: 4 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002399/0.3887, allocations: 489 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.3887, allocations: 67.39 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.3892, allocations: 405.9 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.3892, allocations: 41.69 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.3893, allocations: 97.44 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.3893, allocations: 43.69 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.3895, allocations: 125.5 kB / 1.371 GB, free: 5.887 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3897, allocations: 322.8 kB / 1.371 GB, free: 5.562 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.39, allocations: 195.2 kB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.3903, allocations: 249.7 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.3907, allocations: 275.7 kB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3907, allocations: 0 / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008441/0.3915, allocations: 0.5508 MB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.16e-05/0.3916, allocations: 79.38 kB / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.3916, allocations: 8.172 kB / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3916, allocations: 11.94 kB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.3918, allocations: 19.97 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.3918, allocations: 7.938 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/0.3923, allocations: 55.84 kB / 1.373 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/0.3923, allocations: 63.98 kB / 1.373 GB, free: 3.945 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.0002142/0.3926, allocations: 191.7 kB / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.3926, allocations: 39.75 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.3927, allocations: 47.62 kB / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3927, allocations: 0 / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3927, allocations: 3.938 kB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3927, allocations: 0 / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.3948, allocations: 0.6843 MB / 1.374 GB, free: 2.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3948, allocations: 3.938 kB / 1.374 GB, free: 2.938 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.3948, allocations: 11.88 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3948, allocations: 0 / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.3949, allocations: 19.97 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3949, allocations: 0 / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3949, allocations: 0 / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.3966, allocations: 483.5 kB / 1.374 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.3969, allocations: 133.5 kB / 1.374 GB, free: 2.285 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.3969, allocations: 15.98 kB / 1.374 GB, free: 2.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.3974, allocations: 23.97 kB / 1.375 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.3974, allocations: 11.98 kB / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.3975, allocations: 59.97 kB / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002993/0.3978, allocations: 299.1 kB / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3978, allocations: 0 / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003399/0.3981, allocations: 64 kB / 1.375 GB, free: 1.82 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.0001493/0.3983, allocations: 119.2 kB / 1.375 GB, free: 1.691 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.3995, allocations: 474 kB / 1.375 GB, free: 1.191 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.3995, allocations: 7.938 kB / 1.376 GB, free: 1.184 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007274/0.4003, allocations: 114 kB / 1.376 GB, free: 1.074 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.4006, allocations: 27.47 kB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.402, allocations: 0.5483 MB / 1.376 GB, free: 488 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.4022, allocations: 163 kB / 1.376 GB, free: 304 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.74e-05/0.4022, allocations: 13.08 kB / 1.376 GB, free: 292 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.4023, allocations: 23.36 kB / 1.376 GB, free: 268 kB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.4023, allocations: 0 / 1.376 GB, free: 268 kB / 1.061 GB Notification: Performance of Templates: time 0.009949/0.4122, allocations: 6.059 MB / 1.382 GB, free: 10.15 MB / 1.076 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 800] 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.088638884946704]