Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001835/0.001835, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002296/0.002296, allocations: 216.6 kB / 22.24 MB, free: 5.258 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.317/3.317, allocations: 0.49 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [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.002107/0.002107, allocations: 71.14 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.355, allocations: 176.1 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002726/0.3577, allocations: 1.525 MB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3592, allocations: 0.5247 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.3592, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.3594, allocations: 11.86 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.3595, allocations: 27.84 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.3604, allocations: 324.7 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006327/0.361, allocations: 491.3 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.3611, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.3615, allocations: 287.6 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.3618, allocations: 147.6 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.982e-05/0.3619, allocations: 24 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.3619, allocations: 28 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.3621, allocations: 115.6 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.3623, allocations: 155.3 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.3628, allocations: 438.6 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3628, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3628, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.3628, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 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.001342/0.3641, allocations: 0.795 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3642, allocations: 12.03 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/0.3642, allocations: 34.73 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.3643, allocations: 52.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.3648, allocations: 256.7 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.3649, allocations: 16.36 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.365, allocations: 32.36 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.3661, allocations: 213.9 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3661, allocations: 3.938 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.3661, allocations: 3.984 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3661, allocations: 4 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008729/0.367, allocations: 99.92 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.3675, allocations: 316.5 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.3686, allocations: 158.4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007997/0.3694, allocations: 104.8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.3694, allocations: 7.984 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.3704, allocations: 221.5 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.3704, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002792/0.3732, allocations: 493 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3733, allocations: 55.41 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.3737, allocations: 417.9 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.566e-05/0.3738, allocations: 41.7 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.3739, allocations: 97.44 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.3739, allocations: 39.67 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.3742, allocations: 129.5 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3743, allocations: 322.8 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.3746, allocations: 191.3 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.375, allocations: 245.2 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.3754, allocations: 274.6 kB / 1.334 GB, free: 8.625 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3754, allocations: 0 / 1.334 GB, free: 8.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009373/0.3763, allocations: 0.5446 MB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/0.3764, allocations: 83.31 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3764, allocations: 7.984 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3764, allocations: 7.938 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.3766, allocations: 24.11 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3766, allocations: 8 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.3771, allocations: 55.84 kB / 1.335 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-05/0.3772, allocations: 59.98 kB / 1.335 GB, free: 7.797 MB / 1.029 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.0002428/0.3775, allocations: 196.2 kB / 1.335 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.3775, allocations: 47.66 kB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-05/0.3776, allocations: 43.69 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3776, allocations: 0 / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3776, allocations: 0 / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3776, allocations: 3.984 kB / 1.335 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.38, allocations: 0.7009 MB / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.38, allocations: 4 kB / 1.336 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.38, allocations: 7.984 kB / 1.336 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.38, allocations: 0 / 1.336 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.3801, allocations: 15.98 kB / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3801, allocations: 7.984 kB / 1.336 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3801, allocations: 3.938 kB / 1.336 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.3819, allocations: 497.2 kB / 1.336 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.3822, allocations: 129.6 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-05/0.3823, allocations: 8 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.3828, allocations: 31.95 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.3828, allocations: 11.98 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/0.3829, allocations: 55.98 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000308/0.3832, allocations: 295.1 kB / 1.337 GB, free: 5.691 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3832, allocations: 0 / 1.337 GB, free: 5.691 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003694/0.3836, allocations: 71.98 kB / 1.337 GB, free: 5.621 MB / 1.029 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.002231/0.3858, allocations: 1.04 MB / 1.338 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.3872, allocations: 469.9 kB / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3872, allocations: 4 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000828/0.388, allocations: 119.8 kB / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3884, allocations: 26.02 kB / 1.339 GB, free: 3.914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.393, allocations: 3.078 MB / 1.342 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.3931, allocations: 163 kB / 1.342 GB, free: 484 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.268e-05/0.3932, allocations: 17.08 kB / 1.342 GB, free: 468 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.3933, allocations: 31.36 kB / 1.342 GB, free: 436 kB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/0.3933, allocations: 0 / 1.342 GB, free: 436 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.429, allocations: 8.002 MB / 1.35 GB, free: 8.488 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.95, allocations: 6.125 kB / 1.35 GB, free: 8.484 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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: 18.812036813003942]