Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 92.47 kB / 16.02 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.001304/0.001305, allocations: 177.2 kB / 16.92 MB, free: 6.652 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.888/2.888, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003324, allocations: 11.16 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2794, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001879/0.2814, allocations: 1.245 MB / 1.061 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.2832, allocations: 0.5814 MB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.2833, allocations: 0 / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.2834, allocations: 3.938 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.2836, allocations: 27.84 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.2846, allocations: 278.4 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006466/0.2853, allocations: 451.4 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.2854, allocations: 11.98 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.2861, allocations: 307 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.2865, allocations: 167.2 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.496e-05/0.2866, allocations: 15.94 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-05/0.2866, allocations: 12 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.2868, allocations: 115.6 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.2871, allocations: 212.5 kB / 1.063 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.2874, allocations: 307.7 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2874, allocations: 3.984 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2874, allocations: 0 / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.2874, allocations: 0 / 1.063 GB, free: 1.273 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.001154/0.2886, allocations: 0.7458 MB / 1.064 GB, free: 448 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2887, allocations: 15.97 kB / 1.064 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.2888, allocations: 52.45 kB / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.2892, allocations: 322.1 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.2893, allocations: 20.42 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.972e-05/0.2894, allocations: 28.31 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.2904, allocations: 226 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2904, allocations: 192 / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.2905, allocations: 11.94 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2905, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.2913, allocations: 107.9 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.2918, allocations: 385.3 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.2929, allocations: 194.4 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/0.2937, allocations: 120 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.2937, allocations: 8 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009953/0.2947, allocations: 237.4 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.2947, allocations: 4 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002702/0.2974, allocations: 0.5008 MB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.2975, allocations: 63.39 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.2979, allocations: 413.8 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/0.298, allocations: 41.69 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.2981, allocations: 93.45 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.2982, allocations: 47.47 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.2983, allocations: 37.69 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2984, allocations: 322.8 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.2987, allocations: 119.9 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.299, allocations: 165.9 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.2993, allocations: 282.8 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2994, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008395/0.3002, allocations: 494.3 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-05/0.3003, allocations: 92.72 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3003, allocations: 0 / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3003, allocations: 4 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3005, allocations: 28.11 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3005, allocations: 11.92 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.3011, allocations: 67.8 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.3011, allocations: 55.98 kB / 1.068 GB, free: 11.7 MB / 0.8262 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.0002302/0.3014, allocations: 196 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.3015, allocations: 47.45 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.921e-05/0.3015, allocations: 35.75 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3015, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3016, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3016, allocations: 3.938 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.3039, allocations: 0.7785 MB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3039, allocations: 0 / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.3039, allocations: 4 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3039, allocations: 0 / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.304, allocations: 23.97 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.304, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.304, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.3058, allocations: 0.4948 MB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.3061, allocations: 196.5 kB / 1.07 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.3061, allocations: 12 kB / 1.07 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.3066, allocations: 31.97 kB / 1.07 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.3067, allocations: 7.984 kB / 1.07 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/0.3067, allocations: 67.97 kB / 1.07 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000309/0.3071, allocations: 295.1 kB / 1.07 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3071, allocations: 0 / 1.07 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000396/0.3075, allocations: 67.98 kB / 1.07 GB, free: 9.363 MB / 0.8262 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.0001554/0.3076, allocations: 120.1 kB / 1.07 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.309, allocations: 450.5 kB / 1.071 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.309, allocations: 0 / 1.071 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.3098, allocations: 130.5 kB / 1.071 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3102, allocations: 33.41 kB / 1.071 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.3119, allocations: 0.7201 MB / 1.072 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.3122, allocations: 0.7827 MB / 1.072 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.3123, allocations: 15.44 kB / 1.072 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3123, allocations: 0 / 1.072 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of Templates: time 0.006389/0.3187, allocations: 3.663 MB / 1.076 GB, free: 3.32 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time