Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008623/0.0008623, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008309/0.0008309, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8817/0.8817, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.649/1.649, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.CalendarTimeMonthsPlus,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.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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9517 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.666e-05, allocations: 10.16 kB / 0.9517 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001855/0.001881, allocations: 1.529 MB / 0.9532 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.002866, allocations: 0.5346 MB / 0.9537 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.002932, allocations: 0 / 0.9537 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.948e-05/0.003021, allocations: 11.86 kB / 0.9537 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.003124, allocations: 27.8 kB / 0.9537 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.003804, allocations: 326.3 kB / 0.9541 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.004184, allocations: 487.4 kB / 0.9545 GB, free: 144 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.004222, allocations: 4 kB / 0.9545 GB, free: 140 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.004574, allocations: 363.6 kB / 0.9549 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.004776, allocations: 127.7 kB / 0.955 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.004824, allocations: 28 kB / 0.955 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.004869, allocations: 28 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.004963, allocations: 115.7 kB / 0.9552 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.005061, allocations: 131.7 kB / 0.9553 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.005408, allocations: 458.8 kB / 0.9557 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.00541, allocations: 0 / 0.9557 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.964e-06/0.005412, allocations: 0 / 0.9557 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.005419, allocations: 4 kB / 0.9557 GB, free: 14.91 MB / 0.9167 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.0008409/0.00626, allocations: 0.7989 MB / 0.9565 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.006298, allocations: 8.031 kB / 0.9565 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/0.006386, allocations: 52.7 kB / 0.9566 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.006643, allocations: 256 kB / 0.9568 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.00668, allocations: 20.36 kB / 0.9568 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.006723, allocations: 24.38 kB / 0.9568 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.00724, allocations: 237.9 kB / 0.9571 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.007248, allocations: 192 / 0.9571 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.007267, allocations: 4.375 kB / 0.9571 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.007271, allocations: 384 / 0.9571 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.007613, allocations: 119.9 kB / 0.9572 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.007876, allocations: 281 kB / 0.9575 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.008367, allocations: 186.4 kB / 0.9576 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.008699, allocations: 116.8 kB / 0.9578 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.008724, allocations: 4 kB / 0.9578 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004889/0.009213, allocations: 235.1 kB / 0.958 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.009214, allocations: 0 / 0.958 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.001488/0.0107, allocations: 0.5244 MB / 0.9585 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.01074, allocations: 63.41 kB / 0.9586 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.01101, allocations: 413.8 kB / 0.9589 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.01104, allocations: 37.7 kB / 0.959 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.0111, allocations: 93.44 kB / 0.9591 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.01114, allocations: 47.67 kB / 0.9591 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.01126, allocations: 125.5 kB / 0.9592 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.01134, allocations: 326.8 kB / 0.9595 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.01153, allocations: 191.3 kB / 0.9597 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.01173, allocations: 249.2 kB / 0.96 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.01196, allocations: 275.1 kB / 0.9602 GB, free: 10 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01196, allocations: 0 / 0.9602 GB, free: 10 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00052/0.01248, allocations: 0.5607 MB / 0.9608 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/0.01254, allocations: 87.36 kB / 0.9609 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01254, allocations: 0 / 0.9609 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01256, allocations: 4 kB / 0.9609 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.01266, allocations: 19.92 kB / 0.9609 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.01267, allocations: 7.938 kB / 0.9609 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.01291, allocations: 71.98 kB / 0.961 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.01296, allocations: 67.97 kB / 0.961 GB, free: 9.145 MB / 0.9167 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.0001598/0.01312, allocations: 191.7 kB / 0.9612 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.01316, allocations: 39.75 kB / 0.9612 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.0132, allocations: 39.69 kB / 0.9613 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01321, allocations: 0 / 0.9613 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01321, allocations: 7.984 kB / 0.9613 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01322, allocations: 3.938 kB / 0.9613 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.01433, allocations: 0.709 MB / 0.962 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01433, allocations: 0 / 0.962 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.01435, allocations: 4 kB / 0.962 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01436, allocations: 0 / 0.962 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.01438, allocations: 23.91 kB / 0.962 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01438, allocations: 8 kB / 0.962 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01438, allocations: 3.938 kB / 0.962 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.0152, allocations: 0.506 MB / 0.9625 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.01536, allocations: 133.5 kB / 0.9626 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.0154, allocations: 15.94 kB / 0.9627 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.01561, allocations: 35.97 kB / 0.9627 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.01564, allocations: 11.98 kB / 0.9627 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.01568, allocations: 55.97 kB / 0.9628 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001839/0.01587, allocations: 295.1 kB / 0.963 GB, free: 7.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01587, allocations: 0 / 0.963 GB, free: 7.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002311/0.0161, allocations: 67.98 kB / 0.9631 GB, free: 6.953 MB / 0.9167 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.0001172/0.01621, allocations: 125 kB / 0.9632 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006936/0.01691, allocations: 489.8 kB / 0.9637 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01691, allocations: 0 / 0.9637 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.01725, allocations: 128.2 kB / 0.9638 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.0175, allocations: 31.66 kB / 0.9638 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008459/0.01834, allocations: 0.609 MB / 0.9644 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.01844, allocations: 166.9 kB / 0.9646 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.01848, allocations: 24.48 kB / 0.9646 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of SimCode: time 9.01e-07/0.01848, allocations: 0 / 0.9646 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of Templates: time 0.003854/0.02234, allocations: 3.689 MB / 0.9682 GB, free: 1.555 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.456609318964183]