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.001626/0.001626, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001648/0.001648, allocations: 204 kB / 20.09 MB, free: 2.977 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.605/1.605, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.972/2.972, allocations: 0.49 GB / 0.7923 GB, free: 1.27 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.002052/0.002052, allocations: 59.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.174, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002476/1.176, allocations: 1.532 MB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001181/1.178, allocations: 0.5495 MB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/1.178, allocations: 3.938 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/1.178, allocations: 18.39 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/1.178, allocations: 19.47 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/1.179, allocations: 310.2 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004053/1.179, allocations: 481 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/1.179, allocations: 10.92 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/1.179, allocations: 277.2 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/1.18, allocations: 144.7 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/1.18, allocations: 25.31 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.484e-05/1.18, allocations: 26.84 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/1.18, allocations: 117.3 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/1.18, allocations: 182.5 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/1.18, allocations: 429.5 kB / 1.326 GB, free: 22.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.18, allocations: 0 / 1.326 GB, free: 22.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/1.18, allocations: 0 / 1.326 GB, free: 22.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.732e-06/1.18, allocations: 0 / 1.326 GB, free: 22.81 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.001185/1.181, allocations: 0.8763 MB / 1.327 GB, free: 22.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.182, allocations: 12.48 kB / 1.327 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/1.182, allocations: 58.11 kB / 1.327 GB, free: 22.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/1.182, allocations: 313.9 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/1.182, allocations: 18.92 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/1.182, allocations: 25.52 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/1.183, allocations: 223.3 kB / 1.327 GB, free: 21.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.183, allocations: 1.125 kB / 1.327 GB, free: 21.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/1.183, allocations: 8.375 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/1.183, allocations: 5.984 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/1.184, allocations: 98.78 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/1.185, allocations: 392.1 kB / 1.328 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/1.186, allocations: 165.3 kB / 1.328 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008336/1.187, allocations: 107.6 kB / 1.328 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/1.187, allocations: 2.75 kB / 1.328 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/1.188, allocations: 222.5 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/1.188, allocations: 0 / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002962/1.191, allocations: 482.9 kB / 1.329 GB, free: 21.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/1.191, allocations: 65.97 kB / 1.329 GB, free: 21.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/1.191, allocations: 419.1 kB / 1.329 GB, free: 20.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.819e-05/1.191, allocations: 40.78 kB / 1.329 GB, free: 20.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/1.191, allocations: 94.94 kB / 1.329 GB, free: 20.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/1.191, allocations: 42.8 kB / 1.329 GB, free: 20.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/1.192, allocations: 131.2 kB / 1.33 GB, free: 20.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.69e-05/1.192, allocations: 324.7 kB / 1.33 GB, free: 20.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/1.192, allocations: 121.2 kB / 1.33 GB, free: 20.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/1.192, allocations: 169.6 kB / 1.33 GB, free: 20.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/1.193, allocations: 281.1 kB / 1.33 GB, free: 19.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.193, allocations: 1.125 kB / 1.33 GB, free: 19.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008504/1.193, allocations: 487.5 kB / 1.331 GB, free: 19.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.575e-05/1.193, allocations: 92.33 kB / 1.331 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/1.193, allocations: 2.062 kB / 1.331 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.194, allocations: 2.859 kB / 1.331 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/1.194, allocations: 27.66 kB / 1.331 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.194, allocations: 10.95 kB / 1.331 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/1.194, allocations: 59.42 kB / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/1.194, allocations: 58.3 kB / 1.331 GB, free: 19.68 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.0002249/1.195, allocations: 190.8 kB / 1.331 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/1.195, allocations: 49.16 kB / 1.331 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/1.195, allocations: 41.72 kB / 1.331 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.195, allocations: 1.188 kB / 1.331 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.195, allocations: 1.375 kB / 1.331 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.195, allocations: 0.6562 kB / 1.331 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/1.197, allocations: 0.7481 MB / 1.332 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.197, allocations: 1.031 kB / 1.332 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/1.197, allocations: 4.859 kB / 1.332 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.197, allocations: 1.312 kB / 1.332 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/1.197, allocations: 17.67 kB / 1.332 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.197, allocations: 2.141 kB / 1.332 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.197, allocations: 0 / 1.332 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/1.199, allocations: 483.6 kB / 1.333 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/1.199, allocations: 208 kB / 1.333 GB, free: 18.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/1.199, allocations: 10.56 kB / 1.333 GB, free: 18.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/1.2, allocations: 36.73 kB / 1.333 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/1.2, allocations: 12.03 kB / 1.333 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.2, allocations: 55.78 kB / 1.333 GB, free: 18.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004051/1.201, allocations: 297.7 kB / 1.333 GB, free: 18.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.201, allocations: 0.6875 kB / 1.333 GB, free: 18.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004301/1.201, allocations: 65.02 kB / 1.333 GB, free: 18.57 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.0001604/1.201, allocations: 117.1 kB / 1.333 GB, free: 18.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001405/1.203, allocations: 413.9 kB / 1.334 GB, free: 18.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.203, allocations: 0 / 1.334 GB, free: 18.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008156/1.203, allocations: 109.6 kB / 1.334 GB, free: 18.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/1.204, allocations: 38.77 kB / 1.334 GB, free: 18.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/1.205, allocations: 0.5941 MB / 1.334 GB, free: 17.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/1.206, allocations: 0.7681 MB / 1.335 GB, free: 17.19 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/1.206, allocations: 20.23 kB / 1.335 GB, free: 17.18 MB / 1.061 GB Notification: Performance of SimCode: time 4.6e-07/1.206, allocations: 0 / 1.335 GB, free: 17.18 MB / 1.061 GB Notification: Performance of Templates: time 0.00703/1.213, allocations: 3.669 MB / 1.339 GB, free: 16.67 MB / 1.061 GB " [Timeout remaining time 299] 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: 12.167313439000282]