Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001491/0.001491, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002451/0.002451, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.793 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.356/3.356, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_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.002102/0.002102, allocations: 69.39 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4009, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002974/0.4039, allocations: 1.522 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.4052, allocations: 0.5307 MB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.4053, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.4054, allocations: 7.875 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.4055, allocations: 31.64 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.4064, allocations: 317.8 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.4069, allocations: 487.4 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.407, allocations: 7.984 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.4074, allocations: 275.7 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.4077, allocations: 132.8 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.645e-05/0.4078, allocations: 28 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.4079, allocations: 28 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.408, allocations: 115.7 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.4082, allocations: 155.3 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.4087, allocations: 442.6 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4087, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4087, allocations: 3.938 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.4087, allocations: 4 kB / 1.367 GB, free: 9.996 MB / 1.061 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.001307/0.41, allocations: 0.7795 MB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4101, allocations: 8.031 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.4101, allocations: 46.67 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.4102, allocations: 52.7 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.4107, allocations: 264.6 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.4108, allocations: 24.36 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.4109, allocations: 24.38 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009816/0.4119, allocations: 220.4 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4119, allocations: 3.938 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.412, allocations: 4 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.412, allocations: 0 / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/0.4127, allocations: 99.91 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.4132, allocations: 296.6 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.4142, allocations: 178.6 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008282/0.415, allocations: 100.8 kB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.415, allocations: 0 / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009853/0.416, allocations: 231 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.416, allocations: 0 / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002635/0.4187, allocations: 492 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.4187, allocations: 63.39 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.4192, allocations: 405.9 kB / 1.37 GB, free: 6.555 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/0.4193, allocations: 45.62 kB / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.4194, allocations: 93.45 kB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.4195, allocations: 43.67 kB / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.4197, allocations: 137.4 kB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4199, allocations: 318.8 kB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.4202, allocations: 191.3 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.4206, allocations: 245.8 kB / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.421, allocations: 275 kB / 1.372 GB, free: 5.133 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.421, allocations: 3.938 kB / 1.372 GB, free: 5.129 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001069/0.4221, allocations: 0.547 MB / 1.372 GB, free: 4.551 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.854e-05/0.4222, allocations: 83.31 kB / 1.372 GB, free: 4.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4222, allocations: 0 / 1.372 GB, free: 4.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.4222, allocations: 4 kB / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.4224, allocations: 23.92 kB / 1.372 GB, free: 4.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.4224, allocations: 3.984 kB / 1.372 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.4229, allocations: 64.03 kB / 1.372 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.423, allocations: 63.92 kB / 1.373 GB, free: 4.301 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.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.0002717/0.4233, allocations: 191.7 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/0.4233, allocations: 43.69 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.4234, allocations: 39.69 kB / 1.373 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4234, allocations: 4 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4234, allocations: 0 / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4234, allocations: 4 kB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.4258, allocations: 0.7083 MB / 1.373 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4258, allocations: 0 / 1.373 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.4259, allocations: 4 kB / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.4259, allocations: 0 / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.4259, allocations: 27.97 kB / 1.374 GB, free: 3.227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.4259, allocations: 0 / 1.374 GB, free: 3.227 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4259, allocations: 0 / 1.374 GB, free: 3.227 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.4277, allocations: 491.4 kB / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.4281, allocations: 129.5 kB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.4281, allocations: 20 kB / 1.374 GB, free: 2.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.4286, allocations: 27.97 kB / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.4287, allocations: 11.92 kB / 1.374 GB, free: 2.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.872e-05/0.4287, allocations: 59.97 kB / 1.374 GB, free: 2.484 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003783/0.4291, allocations: 295.1 kB / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4291, allocations: 0 / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004207/0.4295, allocations: 63.98 kB / 1.375 GB, free: 2.133 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.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.002273/0.4318, allocations: 1.035 MB / 1.376 GB, free: 1.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.4333, allocations: 473.9 kB / 1.376 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4333, allocations: 0 / 1.376 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.434, allocations: 111.8 kB / 1.376 GB, free: 472 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.4344, allocations: 27.19 kB / 1.376 GB, free: 448 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/0.4399, allocations: 3.088 MB / 1.379 GB, free: 13.17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.4401, allocations: 170.8 kB / 1.379 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.823e-05/0.4402, allocations: 13.08 kB / 1.379 GB, free: 12.97 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.4403, allocations: 23.42 kB / 1.379 GB, free: 12.95 MB / 1.076 GB Notification: Performance of SimCode: time 1.393e-06/0.4403, allocations: 0 / 1.379 GB, free: 12.95 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0471/0.4874, allocations: 7.967 MB / 1.387 GB, free: 5.051 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.26, allocations: 4 kB / 1.387 GB, free: 5.047 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.307297837920487]