Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonths,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.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_10_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.001084/0.001084, allocations: 103 kB / 16.35 MB, free: 5.824 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.001113/0.001113, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.306/1.306, 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.413/2.413, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 68.05 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2966, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002721/0.2994, allocations: 1.517 MB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3006, allocations: 0.5365 MB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.3006, allocations: 4 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.348e-05/0.3007, allocations: 15.86 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.744e-05/0.3008, allocations: 27.84 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.3015, allocations: 315.4 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000496/0.302, allocations: 0.4994 MB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.3021, allocations: 19.98 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.3024, allocations: 267.6 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.3027, allocations: 147.6 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.3028, allocations: 28 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.576e-05/0.3028, allocations: 24 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.303, allocations: 111.7 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.3031, allocations: 183 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.3035, allocations: 434.5 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3036, allocations: 0 / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3036, allocations: 4 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3036, allocations: 0 / 1.023 GB, free: 5.723 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.001244/0.3048, allocations: 0.8587 MB / 1.024 GB, free: 4.773 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3049, allocations: 12.92 kB / 1.024 GB, free: 4.762 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.305, allocations: 48.47 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.3054, allocations: 314.1 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.3055, allocations: 20.38 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-05/0.3055, allocations: 28.36 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/0.3065, allocations: 214 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3065, allocations: 192 / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.3065, allocations: 11.88 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3065, allocations: 0 / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/0.3073, allocations: 103.9 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.3077, allocations: 377.3 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.3087, allocations: 178.5 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007044/0.3094, allocations: 112.8 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3094, allocations: 7.922 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000889/0.3103, allocations: 235 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.3103, allocations: 0 / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002376/0.3127, allocations: 479.1 kB / 1.026 GB, free: 2.555 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3128, allocations: 59.41 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/0.3132, allocations: 413.8 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.3133, allocations: 45.69 kB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.3133, allocations: 89.45 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.3134, allocations: 35.55 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.3136, allocations: 129.3 kB / 1.026 GB, free: 1.766 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3137, allocations: 318.8 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.314, allocations: 127.9 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.3143, allocations: 174.8 kB / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.3146, allocations: 271 kB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3146, allocations: 0 / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007761/0.3154, allocations: 490.4 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.621e-05/0.3155, allocations: 94.12 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3155, allocations: 16.16 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3156, allocations: 0 / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3157, allocations: 23.98 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3158, allocations: 7.938 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.3162, allocations: 55.73 kB / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.62e-05/0.3163, allocations: 59.98 kB / 1.028 GB, free: 76 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.0002331/0.3165, allocations: 200.6 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.3166, allocations: 43.41 kB / 1.028 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.3167, allocations: 39.75 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3167, allocations: 4 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3167, allocations: 0 / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.3167, allocations: 3.984 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.3188, allocations: 0.7404 MB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3188, allocations: 8 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.3188, allocations: 7.938 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3188, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.3189, allocations: 19.97 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3189, allocations: 0 / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3189, allocations: 0 / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.3205, allocations: 477.4 kB / 1.029 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.3208, allocations: 196.5 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.3208, allocations: 16 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.3213, allocations: 35.95 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.3213, allocations: 7.984 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/0.3214, allocations: 51.98 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002796/0.3217, allocations: 299.1 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.402e-06/0.3217, allocations: 0 / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000367/0.3221, allocations: 67.92 kB / 1.03 GB, free: 13.78 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.000153/0.3222, allocations: 120.5 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.3234, allocations: 446.4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3235, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006834/0.3242, allocations: 124.3 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3246, allocations: 27.88 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.326, allocations: 0.544 MB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.3265, allocations: 0.7708 MB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.602e-05/0.3266, allocations: 25 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.3266, allocations: 15.44 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.3266, allocations: 0 / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.009511/0.3361, allocations: 4.929 MB / 1.037 GB, free: 6.617 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches