Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_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.007835/0.007835, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.001852/0.001852, allocations: 193 kB / 16.67 MB, free: 5.969 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.365/1.365, 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.352/2.352, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 65.73 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2695, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002866/0.2725, allocations: 1.524 MB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2738, allocations: 0.5436 MB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.2739, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.274, allocations: 7.875 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.2742, allocations: 31.78 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009151/0.2751, allocations: 315.3 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006262/0.2758, allocations: 0.4994 MB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.2758, allocations: 11.98 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004591/0.2763, allocations: 275.6 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.2766, allocations: 140.7 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.973e-05/0.2767, allocations: 28 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.203e-05/0.2768, allocations: 28 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.2769, allocations: 115.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.2772, allocations: 183 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.2776, allocations: 430.3 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2777, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2777, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.2777, allocations: 7.938 kB / 1.091 GB, free: 13.88 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.001362/0.2791, allocations: 0.8625 MB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2791, allocations: 12.03 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.2792, allocations: 38.75 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.2793, allocations: 52.45 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.2797, allocations: 302.4 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.2798, allocations: 16.36 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/0.2798, allocations: 28.36 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009789/0.2808, allocations: 213.9 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2809, allocations: 7.938 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.2809, allocations: 7.984 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2809, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.2816, allocations: 99.91 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.2821, allocations: 393.1 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009979/0.2831, allocations: 174.5 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.2838, allocations: 112.8 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.2839, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009822/0.2849, allocations: 235 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.2849, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002457/0.2873, allocations: 484.9 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.2874, allocations: 55.41 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.2878, allocations: 413.9 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.2879, allocations: 41.7 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.288, allocations: 93.44 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.288, allocations: 39.5 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.2883, allocations: 129.2 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2884, allocations: 322.8 kB / 1.095 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.2886, allocations: 115.9 kB / 1.096 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.2889, allocations: 178.9 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.2893, allocations: 270.8 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2893, allocations: 11.94 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008084/0.2901, allocations: 488.6 kB / 1.096 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-05/0.2902, allocations: 92.56 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2903, allocations: 3.938 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.2903, allocations: 4 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.2905, allocations: 31.91 kB / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2905, allocations: 0 / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.291, allocations: 60.05 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-05/0.2911, allocations: 55.98 kB / 1.097 GB, free: 8.176 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.0002346/0.2913, allocations: 203.9 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.2914, allocations: 39.47 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.461e-05/0.2915, allocations: 35.75 kB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2915, allocations: 7.938 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2915, allocations: 4 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2915, allocations: 0 / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.2936, allocations: 0.7463 MB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2936, allocations: 4 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.2936, allocations: 4 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2936, allocations: 0 / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.2937, allocations: 23.97 kB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2937, allocations: 4 kB / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2937, allocations: 0 / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.2953, allocations: 471.2 kB / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.2956, allocations: 204.4 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.2956, allocations: 12 kB / 1.098 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.2961, allocations: 35.94 kB / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.2962, allocations: 11.94 kB / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.2962, allocations: 63.97 kB / 1.098 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002788/0.2965, allocations: 295.1 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2965, allocations: 0 / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003831/0.2969, allocations: 63.98 kB / 1.099 GB, free: 5.867 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.001909/0.2988, allocations: 1.02 MB / 1.1 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.3001, allocations: 442.5 kB / 1.1 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3001, allocations: 0 / 1.1 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.3008, allocations: 115.9 kB / 1.1 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.3012, allocations: 28.36 kB / 1.1 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.3052, allocations: 2.794 MB / 1.103 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.3056, allocations: 0.7708 MB / 1.104 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.29e-05/0.3056, allocations: 9.25 kB / 1.104 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.3057, allocations: 23.42 kB / 1.104 GB, free: 488 kB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3057, allocations: 0 / 1.104 GB, free: 488 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.3294, allocations: 6.12 MB / 1.11 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/7.858, allocations: 0.5938 kB / 1.11 GB, free: 10.36 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches