Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 108.9 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 195.6 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 437.1 MB / 0.7177 GB, free: 4.555 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001969, allocations: 67.89 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 151.6 MB / 1.176 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003062/0.326, allocations: 1.524 MB / 1.177 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3275, allocations: 0.5423 MB / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.3276, allocations: 4 kB / 1.178 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.3277, allocations: 11.86 kB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.3278, allocations: 27.64 kB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.3286, allocations: 303.3 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006447/0.3293, allocations: 0.511 MB / 1.179 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.3293, allocations: 4 kB / 1.179 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/0.3298, allocations: 271.6 kB / 1.179 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.3301, allocations: 145.7 kB / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.3302, allocations: 28 kB / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3303, allocations: 24 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.3305, allocations: 115.6 kB / 1.179 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.3307, allocations: 183.1 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.3313, allocations: 430.3 kB / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3313, allocations: 0 / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3313, allocations: 0 / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3313, allocations: 8 kB / 1.18 GB, free: 1.836 MB / 0.92 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.001394/0.3327, allocations: 0.882 MB / 1.181 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3328, allocations: 8.031 kB / 1.181 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.3329, allocations: 52.69 kB / 1.181 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.3334, allocations: 314.6 kB / 1.181 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/0.3334, allocations: 20.36 kB / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.3335, allocations: 24.36 kB / 1.181 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009723/0.3345, allocations: 217.4 kB / 1.181 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3345, allocations: 192 / 1.181 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.3345, allocations: 15.92 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3345, allocations: 0 / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007423/0.3353, allocations: 95.92 kB / 1.181 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.3358, allocations: 397.3 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.3369, allocations: 170.5 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/0.3376, allocations: 116.8 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3377, allocations: 0 / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009732/0.3387, allocations: 223.1 kB / 1.182 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.3387, allocations: 4 kB / 1.182 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002615/0.3413, allocations: 493 kB / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.3414, allocations: 59.41 kB / 1.183 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.3418, allocations: 413.9 kB / 1.183 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.3419, allocations: 37.7 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.342, allocations: 97.44 kB / 1.183 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.3421, allocations: 47.61 kB / 1.183 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.3423, allocations: 125.5 kB / 1.183 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3424, allocations: 322.8 kB / 1.184 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.3427, allocations: 127.9 kB / 1.184 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.343, allocations: 162.9 kB / 1.184 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.3435, allocations: 275.5 kB / 1.184 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3435, allocations: 0 / 1.184 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008914/0.3444, allocations: 491.2 kB / 1.185 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.3445, allocations: 91.31 kB / 1.185 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3446, allocations: 4 kB / 1.185 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3446, allocations: 4.188 kB / 1.185 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.3448, allocations: 27.91 kB / 1.185 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3448, allocations: 4 kB / 1.185 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.3453, allocations: 59.8 kB / 1.185 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.062e-05/0.3454, allocations: 59.98 kB / 1.185 GB, free: 12.15 MB / 0.9356 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.0002321/0.3456, allocations: 196 kB / 1.185 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.3457, allocations: 43.69 kB / 1.185 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.3458, allocations: 43.69 kB / 1.185 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3458, allocations: 4 kB / 1.185 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3458, allocations: 0 / 1.185 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3458, allocations: 0 / 1.185 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.348, allocations: 0.7495 MB / 1.186 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.348, allocations: 0 / 1.186 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.3481, allocations: 8 kB / 1.186 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3481, allocations: 0 / 1.186 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.3481, allocations: 23.97 kB / 1.186 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3481, allocations: 0 / 1.186 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3481, allocations: 0 / 1.186 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.3499, allocations: 481.7 kB / 1.187 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.3502, allocations: 196.7 kB / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.3503, allocations: 16 kB / 1.187 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.3507, allocations: 35.95 kB / 1.187 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.3508, allocations: 7.938 kB / 1.187 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.3509, allocations: 59.97 kB / 1.187 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003335/0.3512, allocations: 295.1 kB / 1.187 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3513, allocations: 3.938 kB / 1.187 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003542/0.3516, allocations: 63.98 kB / 1.187 GB, free: 9.859 MB / 0.9356 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.0001744/0.3518, allocations: 123.2 kB / 1.187 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.3532, allocations: 442.4 kB / 1.188 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3533, allocations: 0 / 1.188 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007867/0.3541, allocations: 120.3 kB / 1.188 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3545, allocations: 33.47 kB / 1.188 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.3563, allocations: 0.5967 MB / 1.188 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/0.3569, allocations: 0.7669 MB / 1.189 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.357, allocations: 19.42 kB / 1.189 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/0.357, allocations: 3.938 kB / 1.189 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of Templates: time 0.006983/0.364, allocations: 3.673 MB / 1.193 GB, free: 3.949 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.51230978698004]