Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001416/0.001416, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001431/0.001431, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.26/3.26, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [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.002166/0.002166, allocations: 66.64 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3773, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003132/0.3804, allocations: 1.525 MB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3819, allocations: 0.5188 MB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.3819, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.3821, allocations: 15.86 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.3822, allocations: 31.84 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008464/0.383, allocations: 306.9 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.3836, allocations: 495.4 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.3836, allocations: 4 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/0.3841, allocations: 275.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.3843, allocations: 145.1 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.856e-05/0.3844, allocations: 28 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3845, allocations: 24 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.3847, allocations: 107.7 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.3849, allocations: 163.2 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.3854, allocations: 434.3 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3854, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3854, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3854, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 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.001368/0.3868, allocations: 0.7969 MB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3868, allocations: 12.03 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.3869, allocations: 48.7 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.3874, allocations: 260.7 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.3874, allocations: 16.38 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.232e-05/0.3875, allocations: 28.36 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009479/0.3885, allocations: 217.9 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3885, allocations: 4.188 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.3885, allocations: 7.938 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3885, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007287/0.3892, allocations: 95.92 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.3897, allocations: 285.1 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.3907, allocations: 165.3 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.3914, allocations: 104.8 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3915, allocations: 3.984 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009625/0.3924, allocations: 229.3 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3924, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002695/0.3951, allocations: 493 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.3952, allocations: 63.39 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.3957, allocations: 409.9 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.3958, allocations: 41.69 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3959, allocations: 101.4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.396, allocations: 39.69 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.3962, allocations: 129.5 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3964, allocations: 322.8 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.3968, allocations: 187.3 kB / 1.333 GB, free: 9.613 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.3972, allocations: 255.8 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.3976, allocations: 261.3 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3976, allocations: 0 / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009858/0.3986, allocations: 0.5564 MB / 1.334 GB, free: 8.457 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.3987, allocations: 83.41 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3987, allocations: 4 kB / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.3987, allocations: 11.92 kB / 1.334 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.3989, allocations: 19.92 kB / 1.334 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.3989, allocations: 4 kB / 1.334 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.3994, allocations: 59.78 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.77e-05/0.3995, allocations: 63.98 kB / 1.335 GB, free: 8.203 MB / 1.029 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.0002763/0.3998, allocations: 196.2 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.3998, allocations: 39.72 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.679e-05/0.3999, allocations: 43.62 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3999, allocations: 4 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3999, allocations: 0 / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3999, allocations: 3.984 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.4022, allocations: 0.6764 MB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4022, allocations: 7.938 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.4022, allocations: 4 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4022, allocations: 0 / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.4023, allocations: 19.97 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4023, allocations: 0 / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4023, allocations: 0 / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.404, allocations: 487.4 kB / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.4043, allocations: 137.5 kB / 1.336 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.4044, allocations: 16 kB / 1.336 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.4049, allocations: 23.97 kB / 1.336 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.4049, allocations: 15.98 kB / 1.336 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/0.405, allocations: 59.97 kB / 1.336 GB, free: 6.426 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003299/0.4053, allocations: 299 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4053, allocations: 0 / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003949/0.4057, allocations: 63.98 kB / 1.337 GB, free: 6.074 MB / 1.029 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.0001953/0.4059, allocations: 127.1 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.4072, allocations: 483.6 kB / 1.337 GB, free: 5.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4072, allocations: 0 / 1.337 GB, free: 5.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007399/0.408, allocations: 107.9 kB / 1.337 GB, free: 5.324 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.4084, allocations: 31.39 kB / 1.337 GB, free: 5.297 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.4099, allocations: 0.5512 MB / 1.338 GB, free: 4.719 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.4101, allocations: 167 kB / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.233e-05/0.4101, allocations: 9.094 kB / 1.338 GB, free: 4.527 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.4102, allocations: 19.42 kB / 1.338 GB, free: 4.508 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4102, allocations: 4 kB / 1.338 GB, free: 4.504 MB / 1.029 GB Notification: Performance of Templates: time 0.01097/0.4211, allocations: 6.062 MB / 1.344 GB, free: 14.39 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.256033362820745]