Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.00145/0.001451, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 69.34 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2806, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002606/0.2833, allocations: 1.532 MB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2846, allocations: 0.5383 MB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.2846, allocations: 0 / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.984e-05/0.2847, allocations: 11.88 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.2849, allocations: 27.95 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007119/0.2856, allocations: 310.7 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005098/0.2861, allocations: 0.4995 MB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.2861, allocations: 11.98 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.2865, allocations: 271.6 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.2867, allocations: 147.6 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.932e-05/0.2868, allocations: 28 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.2869, allocations: 28 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.287, allocations: 111.7 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.2872, allocations: 187 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.2876, allocations: 422.7 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2876, allocations: 0 / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2876, allocations: 7.938 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2876, allocations: 0 / 1.031 GB, free: 13.98 MB / 0.8106 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.001176/0.2888, allocations: 0.8664 MB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2889, allocations: 11.97 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.289, allocations: 48.56 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.2894, allocations: 310.2 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.2895, allocations: 16.36 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.2895, allocations: 32.36 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/0.2905, allocations: 210 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2905, allocations: 192 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.2905, allocations: 7.938 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2905, allocations: 0 / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007141/0.2912, allocations: 111.8 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.2917, allocations: 385.2 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/0.2927, allocations: 174.5 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.2934, allocations: 108.8 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.2934, allocations: 7.984 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008569/0.2943, allocations: 227 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.2943, allocations: 0 / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.00235/0.2966, allocations: 488.8 kB / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.2967, allocations: 63.41 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.2971, allocations: 401.9 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.2972, allocations: 45.69 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.2973, allocations: 93.44 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.2973, allocations: 39.55 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.2975, allocations: 125.3 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2976, allocations: 322.8 kB / 1.035 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.2979, allocations: 123.9 kB / 1.035 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.2982, allocations: 166.9 kB / 1.035 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.2986, allocations: 279 kB / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2986, allocations: 0 / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007783/0.2994, allocations: 498 kB / 1.036 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.295e-05/0.2995, allocations: 91.31 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2995, allocations: 4.188 kB / 1.036 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2995, allocations: 4 kB / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2997, allocations: 23.92 kB / 1.036 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2997, allocations: 11.92 kB / 1.036 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.3002, allocations: 59.8 kB / 1.036 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/0.3003, allocations: 55.98 kB / 1.036 GB, free: 8.324 MB / 0.8106 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.0002153/0.3005, allocations: 192 kB / 1.036 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.3005, allocations: 43.47 kB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.3006, allocations: 43.73 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3006, allocations: 3.938 kB / 1.036 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3006, allocations: 0 / 1.036 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3006, allocations: 3.938 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.3028, allocations: 0.7515 MB / 1.037 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3028, allocations: 0 / 1.037 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.3028, allocations: 4 kB / 1.037 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3028, allocations: 3.938 kB / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.3029, allocations: 19.97 kB / 1.037 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3029, allocations: 0 / 1.037 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3029, allocations: 4 kB / 1.037 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.3044, allocations: 471.2 kB / 1.037 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.3047, allocations: 204.5 kB / 1.038 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.3048, allocations: 12 kB / 1.038 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.3053, allocations: 39.91 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.3053, allocations: 7.984 kB / 1.038 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/0.3054, allocations: 59.97 kB / 1.038 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002715/0.3057, allocations: 295.1 kB / 1.038 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3057, allocations: 0 / 1.038 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003461/0.306, allocations: 67.98 kB / 1.038 GB, free: 6.027 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.3062, allocations: 117.5 kB / 1.038 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.3073, allocations: 438.5 kB / 1.039 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3074, allocations: 0 / 1.039 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007292/0.3081, allocations: 124.2 kB / 1.039 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3085, allocations: 29.42 kB / 1.039 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3098, allocations: 0.5471 MB / 1.039 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3102, allocations: 0.7707 MB / 1.04 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.455e-05/0.3102, allocations: 13.09 kB / 1.04 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.3103, allocations: 19.42 kB / 1.04 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3103, allocations: 0 / 1.04 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of Templates: time 0.008184/0.3185, allocations: 4.925 MB / 1.045 GB, free: 14.88 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches