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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001593/0.001593, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.53 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.275, allocations: 151.6 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002486/0.2776, allocations: 1.529 MB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2788, allocations: 0.5437 MB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.2789, allocations: 3.938 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.629e-05/0.279, allocations: 7.875 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.86e-05/0.2791, allocations: 27.84 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.2798, allocations: 302.7 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.2803, allocations: 0.5072 MB / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.2804, allocations: 12 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.2807, allocations: 267.6 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.281, allocations: 147.6 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/0.2811, allocations: 28 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.2812, allocations: 28 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.2813, allocations: 115.7 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.2815, allocations: 191 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.2819, allocations: 418.7 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2819, allocations: 0 / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2819, allocations: 4 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2819, allocations: 0 / 1.023 GB, free: 5.789 MB / 0.795 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.001192/0.2831, allocations: 0.8625 MB / 1.024 GB, free: 4.836 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2832, allocations: 8.922 kB / 1.024 GB, free: 4.828 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.2833, allocations: 52.47 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.2837, allocations: 314.1 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.2838, allocations: 20.36 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.2838, allocations: 28.38 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008837/0.2847, allocations: 214 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2848, allocations: 192 / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.2848, allocations: 7.875 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.2848, allocations: 0 / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006928/0.2855, allocations: 108.4 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.2859, allocations: 377.3 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/0.2869, allocations: 182.4 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/0.2875, allocations: 108.8 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.2876, allocations: 4 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008564/0.2884, allocations: 227 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.2885, allocations: 0 / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002373/0.2908, allocations: 487 kB / 1.026 GB, free: 2.621 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.2909, allocations: 63.38 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.2913, allocations: 413.8 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.2913, allocations: 41.69 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.2914, allocations: 97.44 kB / 1.026 GB, free: 1.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.2915, allocations: 31.56 kB / 1.026 GB, free: 1.961 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.2917, allocations: 129.3 kB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2918, allocations: 322.8 kB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.292, allocations: 123.8 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.2923, allocations: 169.3 kB / 1.027 GB, free: 1.199 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.2927, allocations: 283.1 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2927, allocations: 0 / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000804/0.2935, allocations: 494.3 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.181e-05/0.2936, allocations: 91.31 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2936, allocations: 4.188 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2936, allocations: 4 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2938, allocations: 23.92 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2938, allocations: 4 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.2943, allocations: 63.78 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/0.2944, allocations: 55.98 kB / 1.028 GB, free: 140 kB / 0.795 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.0002192/0.2946, allocations: 196 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.2947, allocations: 43.47 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.2947, allocations: 47.72 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2947, allocations: 0 / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2948, allocations: 0 / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2948, allocations: 0 / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.2969, allocations: 0.7482 MB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2969, allocations: 0 / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.2969, allocations: 7.984 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2969, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.297, allocations: 19.98 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.297, allocations: 3.984 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.297, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.2986, allocations: 477.6 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.2989, allocations: 200.4 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.299, allocations: 15.98 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.2995, allocations: 31.97 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.2995, allocations: 7.984 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/0.2996, allocations: 59.97 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002676/0.2998, allocations: 295.1 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2999, allocations: 0 / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003411/0.3002, allocations: 64 kB / 1.03 GB, free: 13.84 MB / 0.8106 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.0001402/0.3003, allocations: 123.2 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.3016, allocations: 442.4 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3016, allocations: 0 / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007337/0.3023, allocations: 124.2 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.3027, allocations: 28.11 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3041, allocations: 0.5517 MB / 1.031 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.3044, allocations: 0.7669 MB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.645e-05/0.3044, allocations: 13.08 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.3045, allocations: 19.42 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3045, allocations: 0 / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of Templates: time 0.008007/0.3125, allocations: 4.931 MB / 1.037 GB, free: 6.676 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (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 & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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