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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002429/0.002429, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.194/3.194, allocations: 497.2 MB / 0.7811 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 65.88 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3831, allocations: 173.9 MB / 1.304 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003857/0.387, allocations: 1.746 MB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3885, allocations: 0.6374 MB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/0.3886, allocations: 0 / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.3887, allocations: 11.86 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.3889, allocations: 31.8 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008736/0.3898, allocations: 363.3 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007392/0.3905, allocations: 0.5931 MB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3906, allocations: 33.11 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.391, allocations: 323.5 kB / 1.308 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.3913, allocations: 151.6 kB / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-05/0.3914, allocations: 40 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.384e-05/0.3915, allocations: 44 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.3916, allocations: 127.6 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.3919, allocations: 215 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.3925, allocations: 0.5956 MB / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3925, allocations: 0 / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3925, allocations: 0 / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3925, allocations: 4 kB / 1.309 GB, free: 12.59 MB / 1.014 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.001467/0.394, allocations: 0.9209 MB / 1.31 GB, free: 11.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.394, allocations: 12.92 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.754e-05/0.3941, allocations: 42.73 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3942, allocations: 52.64 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.3947, allocations: 342.4 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.3948, allocations: 20.36 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/0.3949, allocations: 36.36 kB / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009638/0.3958, allocations: 235.2 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3959, allocations: 3.938 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.3959, allocations: 4 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3959, allocations: 0 / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.3966, allocations: 119.9 kB / 1.311 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.3981, allocations: 0.6759 MB / 1.311 GB, free: 9.953 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/0.3991, allocations: 166.5 kB / 1.311 GB, free: 9.781 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007081/0.3998, allocations: 112.8 kB / 1.311 GB, free: 9.668 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3999, allocations: 4 kB / 1.311 GB, free: 9.664 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009846/0.4008, allocations: 227.1 kB / 1.312 GB, free: 9.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.4008, allocations: 0 / 1.312 GB, free: 9.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002481/0.4033, allocations: 0.4918 MB / 1.312 GB, free: 8.934 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.4034, allocations: 63.41 kB / 1.312 GB, free: 8.859 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.4039, allocations: 441.9 kB / 1.313 GB, free: 8.414 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/0.404, allocations: 41.69 kB / 1.313 GB, free: 8.367 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.4041, allocations: 97.44 kB / 1.313 GB, free: 8.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.4041, allocations: 51.61 kB / 1.313 GB, free: 8.219 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.4043, allocations: 141.4 kB / 1.313 GB, free: 8.074 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4045, allocations: 326.8 kB / 1.313 GB, free: 7.746 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.4048, allocations: 135.9 kB / 1.313 GB, free: 7.613 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.4051, allocations: 194.9 kB / 1.314 GB, free: 7.402 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.4055, allocations: 291 kB / 1.314 GB, free: 7.086 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4055, allocations: 4 kB / 1.314 GB, free: 7.082 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008892/0.4064, allocations: 0.5202 MB / 1.314 GB, free: 6.543 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.4065, allocations: 95.38 kB / 1.314 GB, free: 6.438 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4065, allocations: 0 / 1.314 GB, free: 6.438 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.4065, allocations: 4 kB / 1.314 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.4067, allocations: 31.91 kB / 1.314 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4067, allocations: 0 / 1.314 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.4072, allocations: 64.03 kB / 1.315 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/0.4073, allocations: 59.92 kB / 1.315 GB, free: 6.281 MB / 1.014 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.0002902/0.4076, allocations: 220.3 kB / 1.315 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.4076, allocations: 43.72 kB / 1.315 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.4077, allocations: 39.8 kB / 1.315 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.4077, allocations: 0 / 1.315 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.329e-06/0.4077, allocations: 0 / 1.315 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4077, allocations: 3.984 kB / 1.315 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.4099, allocations: 0.7834 MB / 1.316 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.4099, allocations: 7.938 kB / 1.316 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.4099, allocations: 7.922 kB / 1.316 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4099, allocations: 4 kB / 1.316 GB, free: 5.113 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.41, allocations: 27.91 kB / 1.316 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.41, allocations: 0 / 1.316 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.41, allocations: 4 kB / 1.316 GB, free: 5.082 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.4116, allocations: 486 kB / 1.316 GB, free: 4.594 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.412, allocations: 244.6 kB / 1.316 GB, free: 4.336 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.998e-05/0.4121, allocations: 19.94 kB / 1.316 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/0.4126, allocations: 35.95 kB / 1.316 GB, free: 4.281 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.4126, allocations: 4 kB / 1.316 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.192e-05/0.4127, allocations: 59.97 kB / 1.317 GB, free: 4.219 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003556/0.413, allocations: 323.1 kB / 1.317 GB, free: 3.902 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.413, allocations: 7.938 kB / 1.317 GB, free: 3.895 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003811/0.4134, allocations: 64 kB / 1.317 GB, free: 3.832 MB / 1.014 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.002103/0.4155, allocations: 1.037 MB / 1.318 GB, free: 2.766 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.4168, allocations: 448.3 kB / 1.318 GB, free: 2.305 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4168, allocations: 384 / 1.318 GB, free: 2.305 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007175/0.4175, allocations: 119.8 kB / 1.318 GB, free: 2.188 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.418, allocations: 39.39 kB / 1.318 GB, free: 2.156 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.4227, allocations: 3.015 MB / 1.321 GB, free: 15.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.4232, allocations: 0.7981 MB / 1.322 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.372e-05/0.4232, allocations: 13.42 kB / 1.322 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.4233, allocations: 31.42 kB / 1.322 GB, free: 14.14 MB / 1.029 GB Notification: Performance of SimCode: time 1.342e-06/0.4233, allocations: 7.938 kB / 1.322 GB, free: 14.13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.4615, allocations: 6.73 MB / 1.329 GB, free: 7.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.698, allocations: 10.92 kB / 1.329 GB, free: 7.445 MB / 1.029 GB " [Timeout remaining time 291] (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_2/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: 15.458721383009106]