Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.004786/0.004786, allocations: 100.5 kB / 15.73 MB, free: 6.445 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.001144/0.001144, allocations: 197.2 kB / 16.68 MB, free: 6.355 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.2 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002626/0.2785, allocations: 1.518 MB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2797, allocations: 0.5451 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.2798, allocations: 8 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.2799, allocations: 7.922 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.28, allocations: 35.72 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008234/0.2808, allocations: 305.3 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.2814, allocations: 0.4956 MB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.2815, allocations: 15.97 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.2819, allocations: 271.6 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.2822, allocations: 147.6 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.482e-05/0.2823, allocations: 28 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.843e-05/0.2824, allocations: 24 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2825, allocations: 115.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.2827, allocations: 183 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.2831, allocations: 426.4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2831, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2831, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.2831, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 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.001216/0.2844, allocations: 0.8703 MB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2844, allocations: 8.031 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.2845, allocations: 38.75 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2846, allocations: 48.47 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.285, allocations: 310.3 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.2851, allocations: 20.34 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.2852, allocations: 28.36 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009307/0.2861, allocations: 216.2 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2861, allocations: 3.938 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.2861, allocations: 3.984 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2862, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.2869, allocations: 99.92 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.2873, allocations: 393.1 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2884, allocations: 178.4 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.2891, allocations: 116.8 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.2891, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009365/0.2901, allocations: 226.4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.2901, allocations: 4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002474/0.2926, allocations: 492.8 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.2926, allocations: 55.41 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.293, allocations: 413.9 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.2931, allocations: 37.7 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.2931, allocations: 93.44 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.2932, allocations: 39.5 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.2934, allocations: 129.3 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2935, allocations: 318.8 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.2938, allocations: 119.9 kB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.294, allocations: 166.9 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.2944, allocations: 295.1 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2944, allocations: 0 / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007721/0.2952, allocations: 488.6 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/0.2953, allocations: 87.31 kB / 1.097 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2953, allocations: 4.188 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2953, allocations: 7.938 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.2955, allocations: 31.91 kB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2955, allocations: 4 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.296, allocations: 51.86 kB / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/0.2961, allocations: 55.98 kB / 1.097 GB, free: 8.242 MB / 0.8575 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.0002071/0.2963, allocations: 199.9 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.2963, allocations: 47.45 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.834e-05/0.2964, allocations: 35.75 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2964, allocations: 4 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2964, allocations: 0 / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.2964, allocations: 3.984 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.2986, allocations: 0.7482 MB / 1.098 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2986, allocations: 0 / 1.098 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.2986, allocations: 4 kB / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2986, allocations: 4 kB / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.2987, allocations: 23.97 kB / 1.098 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2987, allocations: 3.984 kB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2987, allocations: 0 / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.3004, allocations: 477.2 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.3007, allocations: 200.4 kB / 1.098 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.3007, allocations: 15.94 kB / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.3012, allocations: 35.91 kB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.3012, allocations: 11.98 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.3013, allocations: 59.97 kB / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002663/0.3016, allocations: 295.1 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3016, allocations: 0 / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003394/0.3019, allocations: 63.98 kB / 1.099 GB, free: 5.93 MB / 0.8575 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.001947/0.3039, allocations: 1.022 MB / 1.1 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.3051, allocations: 441.6 kB / 1.1 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3052, allocations: 3.938 kB / 1.1 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007401/0.3059, allocations: 124.3 kB / 1.1 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3063, allocations: 26.92 kB / 1.1 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.3103, allocations: 2.776 MB / 1.103 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.3107, allocations: 0.7708 MB / 1.104 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.041e-05/0.3107, allocations: 13.09 kB / 1.104 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.3108, allocations: 23.42 kB / 1.104 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.3108, allocations: 0 / 1.104 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.3361, allocations: 6.234 MB / 1.11 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.916, allocations: 11.33 kB / 1.11 GB, free: 10.29 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches