Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.001733/0.001733, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002184/0.002184, allocations: 219 kB / 22.26 MB, free: 5.125 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.397/3.397, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",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.002159/0.002159, allocations: 66.44 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3954, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.004241/0.3996, allocations: 1.781 MB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.4015, allocations: 0.6341 MB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.4017, allocations: 0 / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.4018, allocations: 11.86 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.402, allocations: 35.56 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.4031, allocations: 365.8 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007904/0.4039, allocations: 0.6009 MB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.404, allocations: 25.52 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005349/0.4046, allocations: 311.7 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.405, allocations: 169 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.4051, allocations: 43.98 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-05/0.4052, allocations: 40 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.4054, allocations: 127.6 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.4056, allocations: 219 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006943/0.4063, allocations: 0.5957 MB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4063, allocations: 0 / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4063, allocations: 0 / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.4064, allocations: 0 / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001606/0.408, allocations: 0.8378 MB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.408, allocations: 12.03 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.028e-05/0.4081, allocations: 50.67 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.4082, allocations: 56.66 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.4087, allocations: 276.7 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.4088, allocations: 20.36 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/0.4088, allocations: 32.36 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4099, allocations: 233.9 kB / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4099, allocations: 7.938 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.4099, allocations: 3.938 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4099, allocations: 4 kB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007467/0.4107, allocations: 115.9 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.4121, allocations: 0.636 MB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.4131, allocations: 178.4 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007284/0.4138, allocations: 104.8 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.4138, allocations: 8 kB / 1.36 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009488/0.4148, allocations: 229.4 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.4148, allocations: 0 / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002501/0.4173, allocations: 0.4894 MB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.4174, allocations: 67.39 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.4179, allocations: 445.9 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/0.4179, allocations: 41.69 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.4181, allocations: 101.3 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.4181, allocations: 47.67 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.4183, allocations: 141.5 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.4185, allocations: 322.8 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.4188, allocations: 131.9 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.4191, allocations: 202.5 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.4196, allocations: 303.1 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4196, allocations: 0 / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009487/0.4205, allocations: 0.5144 MB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4206, allocations: 95.38 kB / 1.363 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4206, allocations: 0 / 1.363 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4207, allocations: 4 kB / 1.363 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4208, allocations: 27.92 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4208, allocations: 192 / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.4213, allocations: 71.77 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-05/0.4214, allocations: 59.92 kB / 1.363 GB, free: 13.37 MB / 1.061 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002733/0.4217, allocations: 216.3 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.4218, allocations: 43.72 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.829e-05/0.4218, allocations: 47.72 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.4219, allocations: 4 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4219, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4219, allocations: 4 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.4241, allocations: 0.7646 MB / 1.364 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4241, allocations: 0 / 1.364 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.4242, allocations: 4 kB / 1.364 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4242, allocations: 0 / 1.364 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.4242, allocations: 27.91 kB / 1.364 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4242, allocations: 0 / 1.364 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4242, allocations: 0 / 1.364 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.4259, allocations: 489.6 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.4263, allocations: 169.5 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.4264, allocations: 23.94 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.4269, allocations: 31.95 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.4269, allocations: 15.97 kB / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.427, allocations: 55.98 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003678/0.4274, allocations: 327 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4274, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003909/0.4277, allocations: 67.94 kB / 1.366 GB, free: 11.03 MB / 1.061 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.002146/0.4299, allocations: 1.032 MB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.4312, allocations: 446.4 kB / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4312, allocations: 0 / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007268/0.4319, allocations: 121.9 kB / 1.367 GB, free: 9.391 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.4323, allocations: 36.38 kB / 1.367 GB, free: 9.355 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/0.4374, allocations: 3.006 MB / 1.37 GB, free: 6.219 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.4379, allocations: 0.7825 MB / 1.371 GB, free: 5.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.348e-05/0.438, allocations: 17.42 kB / 1.371 GB, free: 5.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.4381, allocations: 31.42 kB / 1.371 GB, free: 5.363 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.4381, allocations: 0 / 1.371 GB, free: 5.363 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/0.4772, allocations: 6.941 MB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.88, allocations: 1.719 kB / 1.378 GB, free: 14.45 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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: 19.000943986931816]