Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001319/0.001319, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00146/0.00146, allocations: 218 kB / 23.01 MB, free: 4.605 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8 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.754/2.754, allocations: 476.8 MB / 0.7714 GB, free: 4.262 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [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.00207/0.00207, allocations: 68.36 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3306, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002841/0.3335, allocations: 1.555 MB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3348, allocations: 0.5401 MB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.3349, allocations: 4 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.891e-05/0.335, allocations: 15.86 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.3351, allocations: 23.86 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000799/0.3359, allocations: 312.6 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.3364, allocations: 483.5 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.3365, allocations: 7.938 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004511/0.337, allocations: 283.6 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.3373, allocations: 153.7 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.808e-05/0.3374, allocations: 28 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.3374, allocations: 24 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.3376, allocations: 115.7 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.3378, allocations: 187 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.3383, allocations: 426.4 kB / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3383, allocations: 0 / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3383, allocations: 4 kB / 1.289 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3383, allocations: 0 / 1.289 GB, free: 7.102 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.001274/0.3396, allocations: 0.8028 MB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3396, allocations: 8.031 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3397, allocations: 60.62 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.3402, allocations: 252.8 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.3402, allocations: 16.36 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.3403, allocations: 32.36 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009582/0.3412, allocations: 221.1 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3413, allocations: 192 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.3413, allocations: 7.922 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3413, allocations: 0 / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007144/0.342, allocations: 99.86 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.3425, allocations: 360.3 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/0.3434, allocations: 166.5 kB / 1.291 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007036/0.3441, allocations: 104.8 kB / 1.291 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3442, allocations: 7.984 kB / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009625/0.3451, allocations: 211.2 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.3451, allocations: 0 / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.00247/0.3476, allocations: 499.3 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.3476, allocations: 59.41 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/0.3482, allocations: 417.9 kB / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.3482, allocations: 41.69 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.3483, allocations: 89.44 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.3484, allocations: 47.67 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.3486, allocations: 129.4 kB / 1.292 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3487, allocations: 322.8 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.349, allocations: 115.9 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.3493, allocations: 167.2 kB / 1.293 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.3498, allocations: 287.2 kB / 1.293 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3498, allocations: 0 / 1.293 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008458/0.3507, allocations: 488.7 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.3508, allocations: 95.25 kB / 1.293 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3508, allocations: 7.938 kB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3508, allocations: 0 / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.351, allocations: 19.98 kB / 1.294 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.351, allocations: 12.11 kB / 1.294 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.3515, allocations: 59.84 kB / 1.294 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.78e-05/0.3515, allocations: 55.98 kB / 1.294 GB, free: 1.637 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.0002407/0.3518, allocations: 191.8 kB / 1.294 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.3518, allocations: 47.64 kB / 1.294 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.352, allocations: 39.69 kB / 1.294 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.352, allocations: 4 kB / 1.294 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.352, allocations: 4 kB / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.352, allocations: 0 / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.3542, allocations: 0.7161 MB / 1.295 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3542, allocations: 0 / 1.295 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.3542, allocations: 7.984 kB / 1.295 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3542, allocations: 0 / 1.295 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.3543, allocations: 27.91 kB / 1.295 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3543, allocations: 0 / 1.295 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3543, allocations: 3.938 kB / 1.295 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.3559, allocations: 482.2 kB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.3562, allocations: 125.6 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/0.3563, allocations: 12 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.3567, allocations: 31.95 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3568, allocations: 11.98 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.3569, allocations: 55.98 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003183/0.3572, allocations: 295.1 kB / 1.296 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3572, allocations: 0 / 1.296 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003601/0.3575, allocations: 67.98 kB / 1.296 GB, free: 15.47 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.0001498/0.3577, allocations: 119.7 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.3589, allocations: 410.5 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3589, allocations: 0 / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.3596, allocations: 111.9 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.36, allocations: 28.3 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3615, allocations: 0.5958 MB / 1.297 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.3619, allocations: 0.7708 MB / 1.298 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.3619, allocations: 15.42 kB / 1.298 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.3619, allocations: 0 / 1.298 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.006458/0.3684, allocations: 3.681 MB / 1.301 GB, free: 9.609 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.21297350799432]