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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,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=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 109.3 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 194.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.001971, allocations: 58.92 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3122, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002786/0.315, allocations: 1.582 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3162, allocations: 0.5306 MB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.3163, allocations: 0 / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.977e-05/0.3164, allocations: 7.922 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.3165, allocations: 31.84 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.3173, allocations: 287.5 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.3178, allocations: 0.4956 MB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.3179, allocations: 15.97 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004663/0.3184, allocations: 342.9 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.3186, allocations: 163.2 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.3187, allocations: 31.94 kB / 1.068 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-05/0.3188, allocations: 32 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.319, allocations: 119.7 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.3192, allocations: 198.8 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.3195, allocations: 319.6 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3195, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3195, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3196, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 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.0013/0.3209, allocations: 0.8665 MB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3209, allocations: 12.03 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.321, allocations: 52.47 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.3214, allocations: 310.2 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.3215, allocations: 20.36 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/0.3216, allocations: 28.36 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.3226, allocations: 209.1 kB / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3226, allocations: 192 / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.3226, allocations: 11.88 kB / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3227, allocations: 4 kB / 1.07 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007804/0.3234, allocations: 99.91 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.3239, allocations: 389.2 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.325, allocations: 170.5 kB / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007726/0.3258, allocations: 112.8 kB / 1.07 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3258, allocations: 7.984 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.3269, allocations: 223.1 kB / 1.071 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.3269, allocations: 0 / 1.071 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.00261/0.3295, allocations: 484.8 kB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.3295, allocations: 63.39 kB / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.33, allocations: 409.9 kB / 1.071 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.3301, allocations: 41.69 kB / 1.072 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.3302, allocations: 101.4 kB / 1.072 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.3302, allocations: 39.45 kB / 1.072 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.3304, allocations: 129.3 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3306, allocations: 322.8 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.3309, allocations: 119.9 kB / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.3312, allocations: 169.9 kB / 1.072 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.3316, allocations: 275.5 kB / 1.073 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3316, allocations: 8 kB / 1.073 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008639/0.3325, allocations: 0.4901 MB / 1.073 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.683e-05/0.3326, allocations: 91.31 kB / 1.073 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3326, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3326, allocations: 4 kB / 1.073 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3328, allocations: 23.97 kB / 1.073 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3328, allocations: 11.92 kB / 1.073 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.3333, allocations: 67.92 kB / 1.073 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-05/0.3334, allocations: 63.91 kB / 1.073 GB, free: 5.285 MB / 0.8419 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.0002543/0.3337, allocations: 196 kB / 1.074 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.3338, allocations: 43.47 kB / 1.074 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.3338, allocations: 35.75 kB / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3338, allocations: 0 / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3339, allocations: 4 kB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3339, allocations: 3.984 kB / 1.074 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.3361, allocations: 0.7406 MB / 1.074 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3361, allocations: 4 kB / 1.074 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.3362, allocations: 7.938 kB / 1.074 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3362, allocations: 0 / 1.074 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.3362, allocations: 23.97 kB / 1.074 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3362, allocations: 4 kB / 1.074 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3362, allocations: 0 / 1.074 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.3381, allocations: 477.1 kB / 1.075 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.3383, allocations: 196.5 kB / 1.075 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.977e-05/0.3384, allocations: 15.98 kB / 1.075 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.3389, allocations: 27.97 kB / 1.075 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.339, allocations: 7.984 kB / 1.075 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.3391, allocations: 63.98 kB / 1.075 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003115/0.3394, allocations: 291.1 kB / 1.075 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3394, allocations: 0 / 1.075 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003731/0.3398, allocations: 67.98 kB / 1.075 GB, free: 3.012 MB / 0.8419 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.0001752/0.3399, allocations: 123.1 kB / 1.076 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.3413, allocations: 450.5 kB / 1.076 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3413, allocations: 0 / 1.076 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007944/0.3421, allocations: 115.9 kB / 1.076 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3425, allocations: 37.95 kB / 1.076 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3442, allocations: 0.7059 MB / 1.077 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.3446, allocations: 0.7708 MB / 1.078 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.3447, allocations: 15.44 kB / 1.078 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.3447, allocations: 4 kB / 1.078 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of Templates: time 0.44/0.7847, allocations: 3.679 MB / 1.081 GB, free: 21.52 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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