Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001375/0.001375, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002075/0.002075, allocations: 221 kB / 23.01 MB, free: 4.609 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7714 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [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.002093/0.002093, allocations: 67.56 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3185, allocations: 170 MB / 1.285 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00286/0.3213, allocations: 1.543 MB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3227, allocations: 0.5504 MB / 1.287 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.3228, allocations: 3.938 kB / 1.287 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.55e-05/0.3229, allocations: 7.938 kB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.323, allocations: 27.84 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.3238, allocations: 325.3 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.3244, allocations: 487.4 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.3244, allocations: 7.938 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.3248, allocations: 279.7 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.3251, allocations: 147.6 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.475e-05/0.3252, allocations: 32 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.3253, allocations: 24 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.3254, allocations: 115.7 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.3256, allocations: 187 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.326, allocations: 426.4 kB / 1.289 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.326, allocations: 0 / 1.289 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.326, allocations: 0 / 1.289 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.326, allocations: 0 / 1.289 GB, free: 7.215 MB / 0.9825 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.001272/0.3273, allocations: 0.8043 MB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3273, allocations: 12.03 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.3275, allocations: 48.7 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.3279, allocations: 260.7 kB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.3279, allocations: 20.36 kB / 1.29 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.328, allocations: 24.38 kB / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.3289, allocations: 218 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.329, allocations: 4.125 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.329, allocations: 7.938 kB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.329, allocations: 0 / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/0.3297, allocations: 103.9 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.3302, allocations: 356.3 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.3311, allocations: 174.4 kB / 1.291 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.3318, allocations: 96.78 kB / 1.291 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3318, allocations: 4 kB / 1.291 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000911/0.3328, allocations: 221.1 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3328, allocations: 0 / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002446/0.3352, allocations: 493 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.3353, allocations: 63.39 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.3357, allocations: 409.9 kB / 1.292 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.3358, allocations: 41.69 kB / 1.292 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.3359, allocations: 101.4 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.336, allocations: 43.69 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.3362, allocations: 129.3 kB / 1.292 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3363, allocations: 322.8 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.3366, allocations: 115.9 kB / 1.293 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.3369, allocations: 175.2 kB / 1.293 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.3372, allocations: 275.2 kB / 1.293 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3372, allocations: 4 kB / 1.293 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008924/0.3381, allocations: 492.7 kB / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.606e-05/0.3382, allocations: 91.31 kB / 1.294 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3382, allocations: 0 / 1.294 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3383, allocations: 4 kB / 1.294 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3384, allocations: 23.92 kB / 1.294 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3384, allocations: 0 / 1.294 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.3389, allocations: 64.03 kB / 1.294 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/0.339, allocations: 63.97 kB / 1.294 GB, free: 1.746 MB / 0.9825 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.000252/0.3393, allocations: 195.7 kB / 1.294 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.3393, allocations: 43.66 kB / 1.294 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.3394, allocations: 43.67 kB / 1.294 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.3394, allocations: 8 kB / 1.294 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3394, allocations: 0 / 1.294 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3394, allocations: 0 / 1.294 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.3415, allocations: 0.7069 MB / 1.295 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3415, allocations: 4 kB / 1.295 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.3416, allocations: 4 kB / 1.295 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3416, allocations: 4 kB / 1.295 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.3416, allocations: 23.97 kB / 1.295 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3416, allocations: 0 / 1.295 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3416, allocations: 4 kB / 1.295 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.3432, allocations: 487.2 kB / 1.295 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.3435, allocations: 133.6 kB / 1.295 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/0.3436, allocations: 8 kB / 1.295 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.3441, allocations: 27.97 kB / 1.295 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.3441, allocations: 11.98 kB / 1.295 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.3442, allocations: 59.97 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000308/0.3445, allocations: 295.1 kB / 1.296 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3445, allocations: 0 / 1.296 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003565/0.3448, allocations: 63.98 kB / 1.296 GB, free: 15.58 MB / 0.9981 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.0001686/0.345, allocations: 115.8 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.3462, allocations: 414.4 kB / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3462, allocations: 0 / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000702/0.3469, allocations: 114.8 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.3473, allocations: 33.52 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.3488, allocations: 0.5885 MB / 1.297 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.3492, allocations: 0.7708 MB / 1.298 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.3493, allocations: 15.42 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.3493, allocations: 0 / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.006271/0.3555, allocations: 3.677 MB / 1.301 GB, free: 9.723 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.066103420977015]