Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_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.001137/0.001137, allocations: 112.5 kB / 15.73 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2992, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002998/0.3023, allocations: 1.526 MB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3036, allocations: 0.5398 MB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.3037, allocations: 0 / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.3039, allocations: 11.86 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.304, allocations: 31.62 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009644/0.305, allocations: 315.4 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000659/0.3057, allocations: 0.4916 MB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.3057, allocations: 11.97 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.3062, allocations: 283.6 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.3065, allocations: 143.6 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.3067, allocations: 24 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3068, allocations: 28 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.3069, allocations: 119.6 kB / 1.17 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3071, allocations: 179.1 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.3076, allocations: 422.4 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3076, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3076, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3076, allocations: 4 kB / 1.17 GB, free: 3.25 MB / 0.92 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.001363/0.309, allocations: 0.8742 MB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.3091, allocations: 12.03 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.3091, allocations: 30.75 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.3093, allocations: 60.39 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.3097, allocations: 306.3 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.3098, allocations: 16.36 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.3098, allocations: 28.36 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009668/0.3108, allocations: 213.1 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3108, allocations: 3.938 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.3109, allocations: 11.92 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3109, allocations: 4 kB / 1.172 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007283/0.3116, allocations: 99.86 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.3121, allocations: 393.2 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.3131, allocations: 170.5 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.3138, allocations: 112.8 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.3139, allocations: 7.984 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009325/0.3148, allocations: 228.8 kB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 2.374e-06/0.3148, allocations: 0 / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.002439/0.3173, allocations: 488.8 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.3174, allocations: 59.41 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.3178, allocations: 413.9 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.3179, allocations: 37.7 kB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.318, allocations: 97.34 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.318, allocations: 39.55 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.3182, allocations: 121.3 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3184, allocations: 326.8 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.3186, allocations: 119.9 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.3189, allocations: 166.9 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.3193, allocations: 283.6 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.3193, allocations: 0 / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008278/0.3202, allocations: 490.9 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.3202, allocations: 95.25 kB / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3203, allocations: 4.188 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3203, allocations: 4 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3205, allocations: 23.97 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3205, allocations: 7.938 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.321, allocations: 55.86 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.3211, allocations: 59.98 kB / 1.175 GB, free: 13.54 MB / 0.9356 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.0002234/0.3213, allocations: 200 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.3214, allocations: 43.45 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.3215, allocations: 39.75 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3215, allocations: 0 / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3215, allocations: 0 / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3215, allocations: 0 / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.3236, allocations: 0.752 MB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3236, allocations: 0 / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.3237, allocations: 4 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3237, allocations: 0 / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.3237, allocations: 27.91 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3238, allocations: 4 kB / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3238, allocations: 0 / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.3254, allocations: 475.2 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.3257, allocations: 204.4 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.3258, allocations: 12 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.3263, allocations: 27.97 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.3263, allocations: 11.98 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.898e-05/0.3264, allocations: 59.97 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002884/0.3267, allocations: 291.1 kB / 1.177 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3267, allocations: 0 / 1.177 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003813/0.3271, allocations: 67.98 kB / 1.177 GB, free: 11.25 MB / 0.9356 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.002/0.3291, allocations: 1.024 MB / 1.178 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.3304, allocations: 444.1 kB / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3304, allocations: 0 / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007213/0.3311, allocations: 116.3 kB / 1.179 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3315, allocations: 29.48 kB / 1.179 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.3356, allocations: 2.786 MB / 1.182 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3359, allocations: 0.7745 MB / 1.183 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.569e-05/0.336, allocations: 9.094 kB / 1.183 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.3361, allocations: 27.42 kB / 1.183 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.3361, allocations: 0 / 1.183 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.3604, allocations: 6.123 MB / 1.189 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.074, allocations: 17.83 kB / 1.189 GB, free: 15.71 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches