Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.001355/0.001355, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001493/0.001493, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.498/1.498, 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.542/3.542, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_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.002207/0.002207, allocations: 64.12 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.362, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003035/0.365, allocations: 1.525 MB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3664, allocations: 0.5267 MB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.3665, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.3666, allocations: 7.875 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.3667, allocations: 35.56 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009253/0.3676, allocations: 322.4 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006203/0.3682, allocations: 483.5 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.3683, allocations: 4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.3687, allocations: 279.6 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.3691, allocations: 131.6 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3692, allocations: 28 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3693, allocations: 28 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3694, allocations: 123.7 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.3696, allocations: 155.2 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.3702, allocations: 430.6 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3702, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3702, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.3702, allocations: 0 / 1.367 GB, free: 10.07 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.001378/0.3716, allocations: 0.7929 MB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3716, allocations: 8.031 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.125e-05/0.3717, allocations: 46.67 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.3718, allocations: 52.7 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.3723, allocations: 260.7 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.3724, allocations: 16.38 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.339e-05/0.3724, allocations: 36.3 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009794/0.3734, allocations: 210 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3734, allocations: 3.938 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.3735, allocations: 0 / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3735, allocations: 0 / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/0.3742, allocations: 107.9 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.3747, allocations: 300.5 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3757, allocations: 162.6 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007787/0.3765, allocations: 112.8 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.3765, allocations: 0 / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.3775, allocations: 227 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.003e-06/0.3775, allocations: 4 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002661/0.3802, allocations: 485 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.3803, allocations: 63.34 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.3808, allocations: 413.9 kB / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.507e-05/0.3809, allocations: 37.7 kB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.381, allocations: 101.4 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.381, allocations: 39.69 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.3812, allocations: 125.5 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3814, allocations: 322.8 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.3817, allocations: 191.3 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.3821, allocations: 245.7 kB / 1.371 GB, free: 5.512 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.3825, allocations: 278.8 kB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3825, allocations: 0 / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009554/0.3835, allocations: 0.5547 MB / 1.372 GB, free: 4.621 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.331e-05/0.3836, allocations: 83.31 kB / 1.372 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3836, allocations: 4.172 kB / 1.372 GB, free: 4.523 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.3836, allocations: 8 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.3838, allocations: 19.98 kB / 1.372 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3838, allocations: 3.938 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.3843, allocations: 63.78 kB / 1.372 GB, free: 4.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.793e-05/0.3844, allocations: 63.97 kB / 1.373 GB, free: 4.367 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.0002647/0.3847, allocations: 195.8 kB / 1.373 GB, free: 4.168 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.3847, allocations: 39.7 kB / 1.373 GB, free: 4.129 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.491e-05/0.3848, allocations: 47.61 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3848, allocations: 4 kB / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3848, allocations: 0 / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3848, allocations: 0 / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.3872, allocations: 0.7071 MB / 1.373 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3872, allocations: 0 / 1.373 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.3872, allocations: 7.938 kB / 1.373 GB, free: 3.316 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3872, allocations: 0 / 1.373 GB, free: 3.316 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.3873, allocations: 27.91 kB / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3873, allocations: 0 / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3873, allocations: 0 / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.3891, allocations: 483.4 kB / 1.374 GB, free: 2.801 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.3894, allocations: 129.5 kB / 1.374 GB, free: 2.672 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/0.3895, allocations: 15.98 kB / 1.374 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.39, allocations: 31.97 kB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.39, allocations: 7.984 kB / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/0.3901, allocations: 55.97 kB / 1.374 GB, free: 2.562 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003407/0.3904, allocations: 303.1 kB / 1.374 GB, free: 2.266 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3904, allocations: 0 / 1.374 GB, free: 2.266 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003951/0.3908, allocations: 60 kB / 1.375 GB, free: 2.207 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.002234/0.393, allocations: 1.036 MB / 1.376 GB, free: 1.145 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.3944, allocations: 473.9 kB / 1.376 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3944, allocations: 0 / 1.376 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007728/0.3952, allocations: 128.1 kB / 1.376 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.3956, allocations: 30.14 kB / 1.376 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.4005, allocations: 3.075 MB / 1.379 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.4007, allocations: 166.8 kB / 1.379 GB, free: 13.06 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.617e-05/0.4008, allocations: 9.094 kB / 1.379 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.4008, allocations: 27.42 kB / 1.379 GB, free: 13.03 MB / 1.076 GB Notification: Performance of SimCode: time 9.12e-07/0.4008, allocations: 0 / 1.379 GB, free: 13.03 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.4402, allocations: 7.965 MB / 1.387 GB, free: 5.125 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.17, allocations: 13.58 kB / 1.387 GB, free: 5.117 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.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.25506317615509]