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.001342/0.001342, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001885/0.001885, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.196/3.196, allocations: 0.4893 GB / 0.7951 GB, free: 35.4 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.002123/0.002123, allocations: 70.31 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3662, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003077/0.3693, allocations: 1.527 MB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3707, allocations: 0.5267 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.3708, allocations: 4 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.3709, allocations: 11.81 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.371, allocations: 27.84 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008877/0.3719, allocations: 318.7 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006865/0.3726, allocations: 487.4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.3726, allocations: 11.98 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.3731, allocations: 275.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.3734, allocations: 137.5 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3735, allocations: 28 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.3736, allocations: 24 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.3737, allocations: 119.6 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.3739, allocations: 159.2 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.3744, allocations: 434.4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3744, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3744, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3744, allocations: 0 / 1.33 GB, free: 13.84 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.001334/0.3758, allocations: 0.7912 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3758, allocations: 8.031 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.3759, allocations: 56.69 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.3764, allocations: 252.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.3765, allocations: 16.36 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/0.3765, allocations: 32.36 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009304/0.3775, allocations: 213.9 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3775, allocations: 192 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.3775, allocations: 3.938 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.3775, allocations: 8 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.3782, allocations: 107.8 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.3787, allocations: 281.1 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.3796, allocations: 162.5 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000693/0.3803, allocations: 100.8 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3804, allocations: 4 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009296/0.3813, allocations: 223.1 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.3813, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002424/0.3837, allocations: 485 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.3838, allocations: 71.31 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.3843, allocations: 409.9 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.3844, allocations: 45.69 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.3845, allocations: 93.45 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.3845, allocations: 43.69 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.3848, allocations: 129.4 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.385, allocations: 322.8 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.3853, allocations: 191.3 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.3857, allocations: 245.2 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.386, allocations: 271.2 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.386, allocations: 3.938 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008952/0.3869, allocations: 0.5494 MB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.621e-05/0.387, allocations: 83.38 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.387, allocations: 0 / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.3871, allocations: 7.938 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3872, allocations: 23.92 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3872, allocations: 4.188 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.3877, allocations: 67.77 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/0.3878, allocations: 59.98 kB / 1.335 GB, free: 8.227 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.0002469/0.388, allocations: 192.2 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.3881, allocations: 43.72 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.362e-05/0.3882, allocations: 47.61 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3882, allocations: 4 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3882, allocations: 0 / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3882, allocations: 0 / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.3904, allocations: 0.6781 MB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3904, allocations: 3.938 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.3904, allocations: 11.98 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3904, allocations: 0 / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.3905, allocations: 15.98 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3905, allocations: 0 / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3905, allocations: 3.984 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.3922, allocations: 479.5 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.3925, allocations: 137.5 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.3926, allocations: 15.94 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.393, allocations: 39.95 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3932, allocations: 11.92 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-05/0.3932, allocations: 51.98 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003635/0.3936, allocations: 295.1 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3936, allocations: 0 / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003706/0.394, allocations: 67.98 kB / 1.337 GB, free: 6.094 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.0001837/0.3941, allocations: 119.2 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.3954, allocations: 483.5 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3954, allocations: 0 / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.3962, allocations: 116.2 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.3966, allocations: 33.33 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3981, allocations: 0.5838 MB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.3983, allocations: 167 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.3983, allocations: 15.42 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/0.3983, allocations: 4 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of Templates: time 0.00671/0.4051, allocations: 3.688 MB / 1.342 GB, free: 0.75 MB / 1.029 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/jenkins1/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] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 11.486427857074887]