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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007877/0.007877, allocations: 102.6 kB / 15.73 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001767, allocations: 197.2 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.89 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2888, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002692/0.2916, allocations: 1.514 MB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2928, allocations: 0.5512 MB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.2929, allocations: 0 / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.188e-05/0.293, allocations: 7.875 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2931, allocations: 27.8 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008278/0.294, allocations: 310.3 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.2945, allocations: 0.4994 MB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.2946, allocations: 11.98 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.295, allocations: 271.6 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.2953, allocations: 141.7 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.335e-05/0.2954, allocations: 28 kB / 1.211 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.2955, allocations: 28 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2956, allocations: 115.7 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2958, allocations: 187 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.2963, allocations: 426.9 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2963, allocations: 4 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2963, allocations: 0 / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.2963, allocations: 0 / 1.211 GB, free: 6.023 MB / 0.9669 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.001221/0.2975, allocations: 0.8665 MB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2976, allocations: 8.625 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.2976, allocations: 34.75 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.2977, allocations: 52.45 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.2981, allocations: 314.3 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.2982, allocations: 20.38 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.2983, allocations: 24.36 kB / 1.213 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009566/0.2992, allocations: 209.9 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2992, allocations: 7.922 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.2993, allocations: 11.98 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2993, allocations: 0 / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.3001, allocations: 99.92 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.3005, allocations: 393.2 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3016, allocations: 174.5 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007567/0.3023, allocations: 108.8 kB / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3024, allocations: 4 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009679/0.3034, allocations: 232.5 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.3034, allocations: 0 / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002574/0.3059, allocations: 483.7 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.306, allocations: 55.41 kB / 1.214 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.3064, allocations: 421.8 kB / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.3065, allocations: 37.7 kB / 1.215 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.3066, allocations: 101.4 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.3066, allocations: 35.59 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.3068, allocations: 129.3 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.307, allocations: 326.8 kB / 1.215 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3072, allocations: 119.9 kB / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.3075, allocations: 171.2 kB / 1.215 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.3079, allocations: 279.5 kB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3079, allocations: 0 / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008108/0.3087, allocations: 490.3 kB / 1.216 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.259e-05/0.3088, allocations: 91.31 kB / 1.216 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3089, allocations: 7.938 kB / 1.216 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3089, allocations: 0 / 1.216 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.309, allocations: 27.91 kB / 1.216 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3091, allocations: 4 kB / 1.216 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.3096, allocations: 59.8 kB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3097, allocations: 64.08 kB / 1.216 GB, free: 320 kB / 0.9669 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.0002492/0.3099, allocations: 196 kB / 1.217 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.31, allocations: 39.47 kB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.3101, allocations: 39.75 kB / 1.217 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3101, allocations: 4 kB / 1.217 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3101, allocations: 0 / 1.217 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.381e-06/0.3101, allocations: 3.984 kB / 1.217 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.3125, allocations: 0.7447 MB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3125, allocations: 0 / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.3125, allocations: 4 kB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3125, allocations: 0 / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.3126, allocations: 23.97 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.3126, allocations: 4 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3126, allocations: 0 / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.3144, allocations: 483.2 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.3147, allocations: 196.4 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.3148, allocations: 16 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.3152, allocations: 31.95 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.3153, allocations: 7.938 kB / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.3154, allocations: 59.97 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002957/0.3157, allocations: 295.1 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3157, allocations: 0 / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003663/0.316, allocations: 67.98 kB / 1.219 GB, free: 14.03 MB / 0.9825 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.00206/0.3181, allocations: 1.027 MB / 1.22 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.3194, allocations: 434.5 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3194, allocations: 7.938 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008028/0.3202, allocations: 120.2 kB / 1.22 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3206, allocations: 31.78 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.3246, allocations: 2.79 MB / 1.223 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3249, allocations: 0.7785 MB / 1.224 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.013e-05/0.325, allocations: 9.094 kB / 1.224 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.3251, allocations: 23.42 kB / 1.224 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3251, allocations: 0 / 1.224 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.3478, allocations: 6.241 MB / 1.23 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.126, allocations: 15.3 kB / 1.23 GB, free: 2.371 MB / 0.9825 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) 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) Reference file matches